Skip to content

Commit

Permalink
Fix CI script to allow consecutive runs locally (#793)
Browse files Browse the repository at this point in the history
Co-authored-by: CommanderKeynes <[email protected]>
  • Loading branch information
AndrewJackson2020 and CommanderKeynes authored Sep 5, 2024
1 parent 69af6cc commit f73d15f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .circleci/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ PGPASSWORD=sharding_user pgbench -h 127.0.0.1 -U sharding_user shard1 -i
PGPASSWORD=sharding_user pgbench -h 127.0.0.1 -U sharding_user shard2 -i

# Start Toxiproxy
kill -9 $(pgrep toxiproxy) || true
LOG_LEVEL=error toxiproxy-server &
sleep 1

Expand Down Expand Up @@ -177,3 +178,6 @@ killall pgcat -s SIGINT

# Allow for graceful shutdown
sleep 1

kill -9 $(pgrep toxiproxy)
sleep 1

0 comments on commit f73d15f

Please sign in to comment.