mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Update test_distributed_respect_user_timeouts after superfluous DESC had been removed
This commit is contained in:
parent
f74d5750eb
commit
b6290ae002
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user