[CXX-1141] Tests should not reuse collections across clients Created: 21/Nov/16  Updated: 11/Aug/17  Resolved: 06/Jul/17

Status: Closed
Project: C++ Driver
Component/s: Testing
Affects Version/s: None
Fix Version/s: 3.2.0-rc0

Type: Task Priority: Minor - P4
Reporter: David Golden Assignee: Isabella Siu (Inactive)
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

As shown in SERVER-27127, the Catch test code inherent creates races, as each test path (i.e. test case and section combination) creates a new connection, which removes the monotonic write guarantee and means that test paths are not truly isolated from each other.

One fix could be to have tests use unique collection names, so that every test path occurs with a fresh collection.



 Comments   
Comment by Githook User [ 06/Jul/17 ]

Author:

{u'username': u'iwysiu', u'name': u'Isabella Siu', u'email': u'sakurablossom@blueblueworld.com'}

Message: CXX-1141 fix tests reusing collections across clients
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/a7b1021339c256a9e383d5bfbfc1fd334eb2acbc

Generated at Wed Feb 07 22:01:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.