ClickHouse/tests/perf_drafts/vert_merge/wait_clickhouse_server
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

10 lines
251 B
Bash
Executable File

#!/usr/bin/env bash
for i in $(seq 1 100); do
clickhouse-client --query "SELECT * FROM system.one" 1>/dev/null 2>/dev/null;
[[ $? -eq 0 ]] && break
[[ $(pgrep -l clickhouse-s | wc -l) -lt 1 ]] && echo "Error" && exit -1
sleep 1
done