Revert "Do not retry queries if container is down in integration tests"

This commit is contained in:
Antonio Andelic 2024-02-21 11:13:41 +01:00 committed by GitHub
parent 68a12a5fe3
commit 199da94176
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)