Skip to content

Commit 130d89e

Browse files
Consider ConnectionError a transient exception (fixes #193). (#201)
1 parent 0223ab1 commit 130d89e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testcontainers/core/waiting_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727

2828
# Get a tuple of transient exceptions for which we'll retry. Other exceptions will be raised.
29-
TRANSIENT_EXCEPTIONS = (TimeoutError, ConnectionResetError, BrokenPipeError)
29+
TRANSIENT_EXCEPTIONS = (TimeoutError, ConnectionError)
3030

3131

3232
def wait_container_is_ready(*transient_exceptions):

0 commit comments

Comments
 (0)