Merge pull request #60215 from ClickHouse/revert-60109-tests/integration-query-retries

Revert "Do not retry queries if container is down in integration tests"
This commit is contained in:
Antonio Andelic 2024-02-21 11:15:10 +01:00 committed by GitHub
commit 104421431a
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):
return result
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:
# logging.debug("Retry {} got exception {}".format(i + 1, ex))
time.sleep(sleep_time)