[DRIVERS-628] Update Transactions count test for MongoDB >= 4.0.7 Created: 05/Apr/19  Updated: 01/Mar/23  Resolved: 01/Mar/23

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Shane Harvey Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-3075 Update Transactions count test for Mo... Closed
depends on CSHARP-2577 Update Transactions count test for Mo... Closed
depends on CXX-1758 Update Transactions count test for Mo... Closed
depends on GODRIVER-941 Update Transactions count test for Mo... Closed
depends on MOTOR-327 Update Transactions count test for Mo... Closed
depends on PYTHON-1802 Update Transactions count test for Mo... Closed
depends on RUBY-1789 Update Transactions count test for Mo... Closed
depends on DRIVERS-623 Use runOn syntax to specify transacti... Closed
depends on PHPLIB-420 Update Transactions count test for Mo... Closed
depends on PYTHON-1801 Update Transactions count test for Mo... Closed
depends on JAVA-3260 Update Transactions count test for Mo... Closed
depends on NODE-1929 Update Transactions count test for Mo... Closed
Driver Compliance:
Key Status/Resolution FixVersion
GODRIVER-941 Won't Fix
CXX-1758 Gone away
MOTOR-327 Works as Designed
CDRIVER-3075 Fixed 1.15.0
PHPLIB-420 Done
CSHARP-2577 Fixed 2.9.0
PERL-1084 Gone away
SCALA-514 Done
JAVA-3260 Fixed 3.11.0
PYTHON-1802 Duplicate
NODE-1929 Done
RUBY-1789 Fixed 2.9.0.rc0
PYTHON-1801 Fixed 3.8, 3.9
SWIFT-414 Done

 Description   

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 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



 Comments   
Comment by Ian Whalen (Inactive) [ 08/Apr/19 ]

ian.whalen to make sure this still shows up in 4.2 triage boards.

Generated at Thu Feb 08 08:21:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.