mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
CI: Stress test fix
This commit is contained in:
parent
afab4c0e43
commit
4200b3d5cb
@ -3567,7 +3567,7 @@ if __name__ == "__main__":
|
||||
f"Cannot access the specified directory with queries ({args.queries})",
|
||||
file=sys.stderr,
|
||||
)
|
||||
sys.exit(1)
|
||||
assert False, "No --queries provided"
|
||||
|
||||
CAPTURE_CLIENT_STACKTRACE = args.capture_client_stacktrace
|
||||
|
||||
|
@ -10,8 +10,7 @@ dmesg --clear
|
||||
# shellcheck disable=SC1091
|
||||
source /setup_export_logs.sh
|
||||
|
||||
ln -s /repo/tests/clickhouse-test/ci/stress.py /usr/bin/stress
|
||||
ln -s /repo/tests/clickhouse-test/clickhouse-test /usr/bin/clickhouse-test
|
||||
ln -s /repo/tests/clickhouse-test /usr/bin/clickhouse-test
|
||||
|
||||
# Stress tests and upgrade check uses similar code that was placed
|
||||
# in a separate bash library. See tests/ci/stress_tests.lib
|
||||
@ -266,6 +265,7 @@ fi
|
||||
|
||||
start_server
|
||||
|
||||
cd /repo/tests/ || exit 1 # clickhouse-test can find queries dir from there
|
||||
python3 /repo/tests/ci/stress.py --hung-check --drop-databases --output-folder /test_output --skip-func-tests "$SKIP_TESTS_OPTION" --global-time-limit 1200 \
|
||||
&& echo -e "Test script exit code$OK" >> /test_output/test_results.tsv \
|
||||
|| echo -e "Test script failed$FAIL script exit code: $?" >> /test_output/test_results.tsv
|
||||
|
Loading…
Reference in New Issue
Block a user