Skip to content

Commit

Permalink
chore: Wait before testing load test machine count (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjcsmith authored Dec 2, 2024
1 parent e7a0106 commit 19bfc03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions load-tests/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ for i in $(seq 1 10); do
PIDS+=($!)
done

# Every 10 seconds, check if all 50 instances are still running
# Every 30 seconds, check if all instances are still running
while true; do
sleep 30
for pid in "${PIDS[@]}"; do
kill -0 $pid || exit 1
done
echo "All instances are still running"
sleep 30
done

0 comments on commit 19bfc03

Please sign in to comment.