diff --git a/.circleci/run_tests.sh b/.circleci/run_tests.sh index b6bc422..41aae91 100644 --- a/.circleci/run_tests.sh +++ b/.circleci/run_tests.sh @@ -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 @@ -177,3 +178,6 @@ killall pgcat -s SIGINT # Allow for graceful shutdown sleep 1 + +kill -9 $(pgrep toxiproxy) +sleep 1