Update run-fuzzer.sh

This commit is contained in:
Alexander Tokmakov 2022-10-21 17:58:20 +03:00 committed by GitHub
parent dc99e67d3f
commit 77ea58d539
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -178,7 +178,7 @@ function fuzz
# interferes with gdb
export CLICKHOUSE_WATCHDOG_ENABLE=0
# NOTE: we use process substitution here to preserve keep $! as a pid of clickhouse-server
clickhouse-server --config-file db/config.xml --pid-file /var/run/clickhouse-server/clickhouse-server.pid -- --path db >> server.log 2>&1 &
clickhouse-server --config-file db/config.xml --pid-file /var/run/clickhouse-server/clickhouse-server.pid -- --path db 2>> server.log &
server_pid=$!
kill -0 $server_pid