mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Revert "Do not retry queries if container is down in integration tests"
This commit is contained in:
parent
68a12a5fe3
commit
199da94176
@ -3484,10 +3484,6 @@ class ClickHouseInstance:
|
|||||||
if check_callback(result):
|
if check_callback(result):
|
||||||
return result
|
return result
|
||||||
time.sleep(sleep_time)
|
time.sleep(sleep_time)
|
||||||
except QueryRuntimeException as ex:
|
|
||||||
# Container is down, this is likely due to server crash.
|
|
||||||
if "No route to host" in str(ex):
|
|
||||||
raise
|
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
# logging.debug("Retry {} got exception {}".format(i + 1, ex))
|
# logging.debug("Retry {} got exception {}".format(i + 1, ex))
|
||||||
time.sleep(sleep_time)
|
time.sleep(sleep_time)
|
||||||
|
Loading…
Reference in New Issue
Block a user