-
Type: Improvement
-
Resolution: Done
-
Priority: Unknown
-
None
-
Component/s: CSOT
-
None
Summary
Expectation for {{ "expectError": {"isTimeoutError": true } }} errors from withTransaction blocks is to propogate any errors.
Motivation
The tests state:
- Because the second insert expects an error and gets an error, it technically succeeds, so withTransaction
- will try to run commitTransaction. This will fail client-side, though, because the timeout has already
- expired, so no command is sent.
Errors from within withTransaction blocks should be propogated according to spec.
However, them "technically" succeeding really depends on the unified test runner implementations - so they may or may not issue an abortTransaction operation.
Is this ticket only for tests?
Yes
Acceptance Criteria
PR - review and acceptance by spec owner
- is duplicated by
-
DRIVERS-2876 CSOT test improvements
- Closed