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 5023ed4 commit 6205d4aCopy full SHA for 6205d4a
tests/test_connection.py
@@ -136,8 +136,8 @@ def test_connect_without_retry_on_non_retryable_error(self):
136
137
def test_connect_with_retries(self):
138
"""
139
- Test that the _connect function is not being retried in case of a CancelledError -
140
- error that is not in the list of retry-able errors
+ Validate that retries occur for the entire connect+handshake flow when OSError
+ happens during the handshake phase.
141
142
with patch.object(socket.socket, "sendall") as sendall:
143
sendall.side_effect = OSError(ECONNREFUSED)
0 commit comments