From b6290ae00223fc91d514b82de25e195ab34f8bca Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Wed, 1 Dec 2021 22:34:58 +0300 Subject: [PATCH] Update test_distributed_respect_user_timeouts after superfluous DESC had been removed --- .../test_distributed_respect_user_timeouts/test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integration/test_distributed_respect_user_timeouts/test.py b/tests/integration/test_distributed_respect_user_timeouts/test.py index 03c85a82c90..a774a01e3c2 100644 --- a/tests/integration/test_distributed_respect_user_timeouts/test.py +++ b/tests/integration/test_distributed_respect_user_timeouts/test.py @@ -127,11 +127,11 @@ def _check_timeout_and_exception(node, user, query_base, query): extra_repeats = 1 # Table function remote() are executed two times. - # It tries to get table stucture from remote shards. - # On 'node'2 it will firsty try to get structure from 'node1' (which is not available), - # so so threre are two extra conection attempts for 'node2' and 'remote' + # It tries to get table structure from remote shards. + # On 'node2' it will firstly try to get structure from 'node1' (which is not available), + # so there are 1 extra connection attempts for 'node2' and 'remote' if node.name == 'node2' and query_base == 'remote': - extra_repeats = 3 + extra_repeats = 2 expected_timeout = EXPECTED_BEHAVIOR[user]['timeout'] * repeats * extra_repeats