mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Handle host/network is unreachable in integration tests
This commit is contained in:
parent
1f1b570832
commit
829049de2f
@ -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