[GODRIVER-2844] Fix failing "TestSessions" test Created: 12/May/23  Updated: 11/Jan/24

Status: Backlog
Project: Go Driver
Component/s: Sessions
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Unknown
Reporter: Matt Dale Assignee: Preston Vasquez
Resolution: Unresolved Votes: 0
Labels: greenerbuild
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by GODRIVER-2678 Intermittent failures in Session Pros... Closed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

The test

TestSessions/14._implicit_session_allocation

fails frequently with an error like

sessions_test.go:473:
    	Error Trace:	mongo/integration/sessions_test.go:473
    	            				mongo/integration/mongotest.go:263
    	Error:      	Should be true
    	Test:       	TestSessions/14._implicit_session_allocation
    	Messages:   	expected one session across all 8 operations for at least 1/5 retries, got: 2

See an example test run here.

Definition of done:

  • All TestSessions test cases pass reliably on Evergreen CI.
  • Remove any skipped TestSessions tests tagged with this ticket.


 Comments   
Comment by Matt Dale [ 11/Jan/24 ]

This isn't failing in the latest builds, so I'll close this for now.

Nevermind, this is skipped and still potentially a problem.

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