Skip to content

Commit e7133a1

Browse files
committed
Add BrokenPipeError to transient errors.
1 parent 13ceee8 commit e7133a1

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)
29+
TRANSIENT_EXCEPTIONS = (TimeoutError, ConnectionResetError, BrokenPipeError)
3030

3131

3232
def wait_container_is_ready(*transient_exceptions):

0 commit comments

Comments
 (0)