Skip to content

Commit f73d15f

Browse files
AndrewJackson2020CommanderKeynes
and
CommanderKeynes
authored
Fix CI script to allow consecutive runs locally (#793)
Co-authored-by: CommanderKeynes <[email protected]>
1 parent 69af6cc commit f73d15f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.circleci/run_tests.sh

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ PGPASSWORD=sharding_user pgbench -h 127.0.0.1 -U sharding_user shard1 -i
2626
PGPASSWORD=sharding_user pgbench -h 127.0.0.1 -U sharding_user shard2 -i
2727

2828
# Start Toxiproxy
29+
kill -9 $(pgrep toxiproxy) || true
2930
LOG_LEVEL=error toxiproxy-server &
3031
sleep 1
3132

@@ -177,3 +178,6 @@ killall pgcat -s SIGINT
177178

178179
# Allow for graceful shutdown
179180
sleep 1
181+
182+
kill -9 $(pgrep toxiproxy)
183+
sleep 1

0 commit comments

Comments
 (0)