Add abortTransaction command tests#600
Conversation
|
Once #560 is merged, I can rebase this PR if there are conflicts. |
|
🤖 Auto-triaged by documentdb-triage-tool. Applied: Reasoningcomponent from path globs (test-coverage, test-framework, ci); effort from diff stats (1817+0 LOC, 17 files); LLM: Adds new test coverage for the $abortTransaction command operator, covering behavior, output collection, syntax, and error cases — a meaningful functional addition to the test suite. If a label is wrong, remove it manually and ping |
8780e5b to
8ecb689
Compare
|
Rebased PR to get fix from #606 |
ff242bf to
91bd213
Compare
d14d969 to
730e237
Compare
alinaliBQ
left a comment
There was a problem hiding this comment.
addressed comments
e68d7bd to
717dab5
Compare
717dab5 to
0038fd8
Compare
|
@eerxuan Addressed comments. I also applied the Refactor (mirrors the commitTransaction restructure)Removed the shared helper indirection so each test's setup → act → assert is visible top to bottom.
New behavioral specs (one file per spec, insert-only)
|
abortTransaction command tests
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
c7eada0 to
f7a54c1
Compare
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com>
Signed-off-by: Alina (Xi) Li <Alina.Li@improving.com> Signed-off-by: Sarthak Dalmia <sadalmia@microsoft.com>
This change adds tests for the $abortTransaction command operator.
Add command operator tests for $abortTransaction. Tests database $abortTransaction behavior, output collection, syntax, and expected errors.