From cdfca04b4232811e3b0dae5e125ddc1335206b20 Mon Sep 17 00:00:00 2001 From: alesapin Date: Tue, 8 Sep 2020 14:07:41 +0300 Subject: [PATCH] Missed break --- tests/integration/test_adaptive_granularity/test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/test_adaptive_granularity/test.py b/tests/integration/test_adaptive_granularity/test.py index d4725956189..21d65588de4 100644 --- a/tests/integration/test_adaptive_granularity/test.py +++ b/tests/integration/test_adaptive_granularity/test.py @@ -340,6 +340,7 @@ def test_version_update_two_nodes(start_dynamic_cluster): try: node11.query("SYSTEM SYNC REPLICA table_with_default_granularity_new", timeout=120) node12.query("SYSTEM SYNC REPLICA table_with_default_granularity_new", timeout=120) + break except Exception as ex: print("Exception during replica sync", ex) node11.query("SYSTEM RESTART REPLICA table_with_default_granularity_new") @@ -353,6 +354,7 @@ def test_version_update_two_nodes(start_dynamic_cluster): for i in range(3): try: node12.query("SYSTEM SYNC REPLICA table_with_default_granularity", timeout=120) + break except Exception as ex: print("Exception during replica sync", ex) node11.query("SYSTEM RESTART REPLICA table_with_default_granularity")