Fix test_distributed_respect_user_timeouts expected

This commit is contained in:
lzydmxy 2024-11-12 10:18:37 +08:00
parent 838408ff0a
commit 30c33aa1a7

View File

@ -80,6 +80,7 @@ def _check_exception(exception, expected_tries=3):
for i, line in enumerate(lines[3 : 3 + expected_tries]):
expected_lines = (
"Code: 209. " + EXCEPTION_NETWORK + EXCEPTION_TIMEOUT,
"Code: 209. " + EXCEPTION_NETWORK + "Timeout: connect timed out",
EXCEPTION_CONNECT_TIMEOUT,
EXCEPTION_TIMEOUT,
)