[CXX-2237] listLocalSessions test occasionally fails Created: 29/Apr/21  Updated: 28/Oct/23  Resolved: 07/May/21

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 3.7.0, 3.7.0-beta1

Type: Bug Priority: Minor - P4
Reporter: Kevin Albertson Assignee: Benji Rewis (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

A test failure occurs infrequently in src/mongocxx/test/database.cpp under "Database integration tests" => "aggregation" => "listLocalSessions" on this assertion.

The test starts two sessions with start_session and uses an aggregation pipeline with $listLocalSessions to assert that two sessions appear server side.

Example failure



 Comments   
Comment by Githook User [ 07/May/21 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: CXX-2237 Update listLocalSessions test to expect one session (#789)
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/732c44358b249cf72dd0bb87474825be100dabca

Comment by Benji Rewis (Inactive) [ 04/May/21 ]

https://github.com/mongodb/mongo-cxx-driver/pull/789

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