mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Merge pull request #14553 from ClickHouse/fix-flacky-test-11
Handle host/network is unreachable in integration tests
This commit is contained in:
commit
37236e5923
@ -1041,7 +1041,7 @@ class ClickHouseInstance:
|
||||
except socket.timeout:
|
||||
continue
|
||||
except socket.error as e:
|
||||
if e.errno == errno.ECONNREFUSED:
|
||||
if e.errno == errno.ECONNREFUSED or e.errno == errno.EHOSTUNREACH or e.errno == errno.ENETUNREACH:
|
||||
time.sleep(0.1)
|
||||
else:
|
||||
raise
|
||||
|
Loading…
Reference in New Issue
Block a user