mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Better retries on ZK errors in sh tests
This commit is contained in:
parent
0eba575fcf
commit
1bd4febfd5
@ -406,7 +406,7 @@ def run_tests_array(all_tests_with_params):
|
||||
status += stderr
|
||||
else:
|
||||
counter = 1
|
||||
while proc.returncode != 0 and need_retry(stderr):
|
||||
while need_retry(stderr):
|
||||
proc, stdout, stderr, total_time = run_single_test(args, ext, server_logs_level, client_options, case_file, stdout_file, stderr_file, suite_tmp_dir)
|
||||
sleep(2**counter)
|
||||
counter += 1
|
||||
|
Loading…
Reference in New Issue
Block a user