From 199da94176b40c8f5c1b82c985cfa496afb97782 Mon Sep 17 00:00:00 2001 From: Antonio Andelic Date: Wed, 21 Feb 2024 11:13:41 +0100 Subject: [PATCH] Revert "Do not retry queries if container is down in integration tests" --- tests/integration/helpers/cluster.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/integration/helpers/cluster.py b/tests/integration/helpers/cluster.py index 95722dd0db9..1d96563251b 100644 --- a/tests/integration/helpers/cluster.py +++ b/tests/integration/helpers/cluster.py @@ -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)