mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 03:52:15 +00:00
Wait test server startup for 5s
This commit is contained in:
parent
30a6c6479b
commit
2d9d723d3c
@ -75,7 +75,7 @@ $GDB ${BIN_DIR}clickhouse-server --config-file=$CLICKHOUSE_CONFIG -- \
|
|||||||
$INTERNAL_COMPILER_PARAMS \
|
$INTERNAL_COMPILER_PARAMS \
|
||||||
> $LOG_DIR/stdout 2>&1 &
|
> $LOG_DIR/stdout 2>&1 &
|
||||||
CH_PID=$!
|
CH_PID=$!
|
||||||
sleep 3
|
sleep ${TEST_SERVER_STARTUP_WAIT:=5}
|
||||||
|
|
||||||
if [ "$GDB" ]; then
|
if [ "$GDB" ]; then
|
||||||
# Long symbols read
|
# Long symbols read
|
||||||
|
2
debian/pbuilder-hooks/B90test-server
vendored
2
debian/pbuilder-hooks/B90test-server
vendored
@ -66,7 +66,7 @@ if [ "${TEST_CONNECT}" ]; then
|
|||||||
trap finish EXIT SIGINT SIGQUIT SIGTERM
|
trap finish EXIT SIGINT SIGQUIT SIGTERM
|
||||||
|
|
||||||
service clickhouse-server start
|
service clickhouse-server start
|
||||||
sleep 3
|
sleep {TEST_SERVER_STARTUP_WAIT:=5}
|
||||||
|
|
||||||
# TODO: remove me or make only on error:
|
# TODO: remove me or make only on error:
|
||||||
tail -n100 /var/log/clickhouse-server/*.log /var/log/clickhouse-server/stderr || true
|
tail -n100 /var/log/clickhouse-server/*.log /var/log/clickhouse-server/stderr || true
|
||||||
|
Loading…
Reference in New Issue
Block a user