Fix path in test

This commit is contained in:
Nikita Fomichev 2024-07-10 23:57:23 +02:00
parent 481a1570aa
commit 6f3ae4a6de
2 changed files with 2 additions and 19 deletions

View File

@ -2501,28 +2501,13 @@ def do_run_tests(jobs, test_suite: TestSuite):
)
],
)
while not future_seq.ready():
sleep(0.1)
if server_died.is_set():
sleep(5)
break
future_seq.wait()
while not future.ready():
sleep(0.1)
if server_died.is_set():
print("== Server died ==")
sleep(5)
break
print("future wait DONE")
future.wait()
finally:
print("pool.terminate")
pool.terminate()
print("pool.close")
pool.close()
print("pool.join")
pool.join()
print("pool.join DONE")
if not args.run_sequential_tests_in_parallel:
run_tests_array(

View File

@ -5,8 +5,6 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CURDIR"/../shell_config.sh
USER_FILES_PATH=$($CLICKHOUSE_CLIENT_BINARY --query "select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')" 2>&1 | grep Exception | awk '{gsub("/nonexist.txt","",$9); print $9}')
FILE_NAME=test_02240.data
DATA_FILE=${USER_FILES_PATH:?}/$FILE_NAME