-
Type: Task
-
Resolution: Done
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
Go Drivers
Context
The TestCSOTProse test fails on windows [and only windows] builds in the CI:
TestCSOTProse/8._server_selection/serverSelectionTimeoutMS_honored_for_server_selection_if_timeoutMS=0 [2024/07/03 17:35:19.474] === NAME TestCSOTProse [2024/07/03 17:35:19.474] csot_prose_test.go:156: [2024/07/03 17:35:19.474] Error Trace: C:\data\mci\75011cfc0e9177b785ee6a70544f2991\src\go.mongodb.org\mongo-driver\internal\integration\csot_prose_test.go:156 [2024/07/03 17:35:19.474] C:\data\mci\75011cfc0e9177b785ee6a70544f2991\src\go.mongodb.org\mongo-driver\internal\integration\mongotest.go:266 [2024/07/03 17:35:19.474] Error: Condition never satisfied [2024/07/03 17:35:19.474] Test: TestCSOTProse [2024/07/03 17:35:19.474] Messages: expected ping to fail within 150ms
It's notable that unparallelizing just TestCSOTProse/8._server_selection/serverSelectionTimeoutMS_honored_for_server_selection_if_timeoutMS=0 resolves this issue.
Definition of done
This was introduced in GODRIVER-2348 to make CSOT feature gate behavior the default. It appears to be caused by parallelizing the subtests, which was added in GODRIVER-2653. On the surface, parallelizing seems reasonable since the URI uses "invalid" as the host, so the failpoint created in test #1 should not be realized. Determine why the CSOT updates suddenly cause this to fail.
Pitfalls
NA
- is fixed by
-
GODRIVER-3313 Skip CSOT tests on EVG on MacOS and Windows
- Closed
- related to
-
GODRIVER-2348 Make CSOT feature-gated behavior the default
- Closed
-
GODRIVER-2653 Improve reliability of CSOT server selection prose tests by increasing timeouts.
- Closed