Skip to content

Commit

Permalink
Slightly better
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-milovidov committed Dec 9, 2023
1 parent c45906d commit df3bf09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hardware/hardware.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ trap finish EXIT

echo "Waiting for clickhouse-server to start"

timeout 300 tail -n+0 -f /clickhouse-benchmark/server.log | grep --max-count 1 'Ready for connections'

for i in {1..300}; do
sleep 1
./clickhouse client --query "SELECT 'Ok.'" 2>/dev/null && break || echo -n '.'
Expand Down

0 comments on commit df3bf09

Please sign in to comment.