Update run-fuzzer.sh

This commit is contained in:
Alexander Tokmakov 2022-10-14 17:45:17 +03:00 committed by GitHub
parent edfc388b7c
commit dc99e67d3f
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 > >(tail -100000 > server.log) 2>&1 &
clickhouse-server --config-file db/config.xml --pid-file /var/run/clickhouse-server/clickhouse-server.pid -- --path db >> server.log 2>&1 &
server_pid=$!
kill -0 $server_pid