mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Fix path in test
This commit is contained in:
parent
481a1570aa
commit
6f3ae4a6de
@ -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(
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user