[DRIVERS-2279] Dirty implicit session is discarded (insert) test incorrectly uses explicit session Created: 14/Apr/22  Updated: 21/Jun/22

Status: Implementing
Project: Drivers
Component/s: Sessions
Fix Version/s: None

Type: Spec Change Priority: Major - P3
Reporter: Shane Harvey Assignee: Shane Harvey
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split to RUST-1371 Dirty implicit session is discarded (... Closed
split to PYTHON-3160 Test Failure - mmapv1 Closed
split to CDRIVER-4411 Dirty implicit session is discarded (... Backlog
split to CSHARP-4225 Dirty implicit session is discarded (... Backlog
split to CXX-2532 Dirty implicit session is discarded (... Backlog
split to GODRIVER-2465 Dirty implicit session is discarded (... Closed
split to JAVA-4657 Dirty implicit session is discarded (... Closed
split to MOTOR-984 Dirty implicit session is discarded (... Closed
split to NODE-4322 Dirty implicit session is discarded (... Closed
split to PHPLIB-900 Spec test for discarding dirty implic... Closed
split to RUBY-3031 Dirty implicit session is discarded (... Closed
Problem/Incident
Driver Changes: Needed
Downstream Changes Summary:

Drivers should sync the session spec tests to https://github.com/mongodb/specifications/commit/c8699adc01af060bb0bef32480320637799c68f0 to fix a bug in the "Dirty implicit session is discarded (insert)" test.

Driver Compliance:
Key Status/Resolution FixVersion
PYTHON-3160 Fixed 4.1
CDRIVER-4411 Backlog
CXX-2532 Backlog
CSHARP-4225 Backlog
GODRIVER-2465 Fixed 1.10.0
JAVA-4657 Fixed 4.7.0
NODE-4322 Done 4.8.0
MOTOR-984 Duplicate
PHPLIB-900 Fixed 1.13.0
RUBY-3031 Fixed 2.20.0
RUST-1371 Fixed 2.4.0
SWIFT-1587 Duplicate

 Description   

Summary

The "Dirty implicit session is discarded (insert)" test incorrectly uses an explicit session: https://github.com/mongodb/specifications/blob/e11c1e4/source/sessions/tests/driver-sessions-dirty-session-errors.yml#L198

Caused by DRIVERS-1712.

Is this ticket only for tests?

Yes.



 Comments   
Comment by Githook User [ 16/Jun/22 ]

Author:

{'name': 'Shane Harvey', 'email': 'shnhrv@gmail.com', 'username': 'ShaneHarvey'}

Message: DRIVERS-2279 Don't use explicit session in dirty implicit session test (#1181)
Branch: master
https://github.com/mongodb/specifications/commit/c8699adc01af060bb0bef32480320637799c68f0

Comment by Shane Harvey [ 14/Apr/22 ]

PR: https://github.com/mongodb/specifications/pull/1181

Comment by Shane Harvey [ 14/Apr/22 ]

Note, I fixed this in pymongo in PYTHON-3160.

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