Skip to content

Commit

Permalink
Merge pull request ClickHouse#61706 from Algunenano/fuzzer_again
Browse files Browse the repository at this point in the history
Fuzzer: Try a different way to wait for the server
  • Loading branch information
Algunenano authored Mar 21, 2024
2 parents 4d113c2 + 4700222 commit e562a7c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docker/test/fuzzer/run-fuzzer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,15 @@ function fuzz
-- --path db \
--logger.console=0 \
--logger.log=server.log 2>&1 | tee -a stderr.log >> server.log 2>&1 &
server_pid=$(pidof clickhouse-server)
for _ in {1..30}
do
if clickhouse-client --query "select 1"
then
break
fi
sleep 1
done
server_pid=$(cat /var/run/clickhouse-server/clickhouse-server.pid)

kill -0 $server_pid

Expand Down

0 comments on commit e562a7c

Please sign in to comment.