[GODRIVER-2678] Intermittent failures in Session Prose Tests #14 Created: 08/Dec/22  Updated: 15/May/23  Resolved: 15/May/23

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

Type: Improvement Priority: Unknown
Reporter: Preston Vasquez Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: greenerbuild
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates GODRIVER-2844 Fix failing "TestSessions" test Backlog
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   

Occasionally, evergreen tasks will fail on session prose test #14: "Implicit sessions only allocate their server session after a successful connection checkout".

[2022/12/08 19:23:22.950] === RUN   TestSessions/14._implicit_session_allocation
 
12024
[2022/12/08 19:23:22.950]     sessions_test.go:473: expected one session across all 8 operations for at least 1/5 retries, got: 2

 
Here is an example of such a failure.

There is a note in the prose test concerning this rare failure:

Note that it's possible, although rare, for >1 server session to be used because the session is not released until after the connection is checked in.

Considering increasing the threshold from 5 to 10?


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