ClickHouse/docker/test/unit/run.sh

8 lines
442 B
Bash
Raw Normal View History

2021-02-20 20:04:24 +00:00
#!/bin/bash
set -x
service zookeeper start && sleep 7 && /usr/share/zookeeper/bin/zkCli.sh -server localhost:2181 -create create /clickhouse_test '';
gdb -q -ex 'set print inferior-events off' -ex 'set confirm off' -ex 'set print thread-events off' -ex run -ex bt -ex quit --args ./unit_tests_dbms | tee test_output/test_result.txt
2021-02-22 13:53:43 +00:00
./process_unit_tests_result.py || echo -e "failure\tCannot parse results" > /test_output/check_status.tsv