-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Resyncing Spec Tests
-
None
Drivers need to resync the transactions tests in order for them to pass on 4.0.7. The tests were updated in this commit: https://github.com/mongodb/specifications/commit/b3d819750fd52c2dc955a0a81d403a4aa31b19b4
Note these tests depend on the runOn directive from DRIVERS-623. If you don't want to implement runOn support to and you're not worried about testing against 4.0.0 or 4.0.1 you can just replace this line in the failing count test from reads.json/reads.yml:
-errorContains: "Cannot run 'count' in a multi-document transaction"
+errorCodeName: OperationNotSupportedInTransaction
For the v3.8 branch where runOn support is not added I will just make the
errorCodeName change.
- is depended on by
-
DRIVERS-628 Update Transactions count test for MongoDB >= 4.0.7
- Closed
- is duplicated by
-
PYTHON-1802 Update Transactions count test for MongoDB >= 4.0.7
- Closed