Skip to content

Add getDefaultRWConcern command tests#633

Open
danielfrankcom wants to merge 1 commit into
documentdb:mainfrom
danielfrankcom:pr/getDefaultRWConcern
Open

Add getDefaultRWConcern command tests#633
danielfrankcom wants to merge 1 commit into
documentdb:mainfrom
danielfrankcom:pr/getDefaultRWConcern

Conversation

@danielfrankcom

Copy link
Copy Markdown
Collaborator

This change adds tests for the getDefaultRWConcern administration command.

Closes #423

Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
@danielfrankcom danielfrankcom requested a review from a team as a code owner June 19, 2026 23:14
@documentdb-triage-tool documentdb-triage-tool Bot added compatibility test Compatibility test related enhancement New feature or request labels Jun 19, 2026
@documentdb-triage-tool

Copy link
Copy Markdown

🤖 Auto-triaged by documentdb-triage-tool.

Applied: compatibility test, enhancement
Project fields suggested: Component test-coverage · Priority P2 · Effort L · Status Needs Review
Confidence: 0.85 (mixed)

Reasoning

component from path globs (test-coverage, test-framework); effort from diff stats (738+0 LOC, 5 files); LLM: Adds new test cases for the getDefaultRWConcern command, expanding test coverage for an administration command.

If a label is wrong, remove it manually and ping @patty-chow so the rules can be tuned. The bot will not re-label items that already have component labels.


# Property [Topology Errors]: on a standalone node the command is unsupported
# and is rejected.
def test_getDefaultRWConcern_topology_error(collection):

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have standalone mode marker? should use marker if it cannot be run with replica mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compatibility test Compatibility test related enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add compatibility test for getDefaultRWConcern

2 participants