We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d7e491 commit a3b9f11Copy full SHA for a3b9f11
test/unit/test_connection.py
@@ -351,4 +351,5 @@ def test_handle_timeout(mockSessionRequest, next_action):
351
352
# authenticator should be the only retry mechanism for login requests
353
# 9 seconds should be enough for authenticator to attempt twice
354
- assert mockSessionRequest.call_count == 2
+ # however, loosen restrictions to avoid thread scheduling causing failure
355
+ assert 1 < mockSessionRequest.call_count < 4
0 commit comments