Skip to content

Add $convertToCapped command tests#176

Merged
eerxuan merged 6 commits into
documentdb:mainfrom
danielfrankcom:pr/convertToCapped
May 15, 2026
Merged

Add $convertToCapped command tests#176
eerxuan merged 6 commits into
documentdb:mainfrom
danielfrankcom:pr/convertToCapped

Conversation

@danielfrankcom
Copy link
Copy Markdown
Collaborator

This change adds tests for the $convertToCapped collection command.

As with similar changes, the intent is to test the input/output specs, not the underlying engine functionality for this operator.

Ref: #26

Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
@danielfrankcom danielfrankcom requested a review from a team as a code owner May 11, 2026 21:51
@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 XL · Status Needs Review
Confidence: 0.85 (mixed)

Reasoning

component from path globs (test-coverage, test-framework); effort from diff stats (2593+5 LOC, 11 files); LLM: Adds new test cases for the $convertToCapped command to the compatibility test suite, a straightforward coverage expansion with no schema or cross-component changes.

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.

@documentdb-triage-tool documentdb-triage-tool Bot added compatibility test Compatibility test related enhancement New feature or request labels May 11, 2026
Copy link
Copy Markdown

@SaiPradyumn SaiPradyumn left a comment

Choose a reason for hiding this comment

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

readConcern behavior: Standard parameter tested in every other command PR.

Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
Copy link
Copy Markdown
Collaborator

@eerxuan eerxuan left a comment

Choose a reason for hiding this comment

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

FYI, has merge conflict.

Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
@danielfrankcom danielfrankcom requested a review from eerxuan May 14, 2026 23:27
danielfrankcom and others added 2 commits May 15, 2026 08:27
Signed-off-by: Daniel Frankcom <frankcom@amazon.com>
@eerxuan eerxuan merged commit 4cf5be3 into documentdb:main May 15, 2026
12 checks passed
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.

3 participants