Skip to content

Commit

Permalink
try a different means of purging stale connections
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel DeLeo <dan@chef.io>
  • Loading branch information
danielsdeleo committed Feb 21, 2020
1 parent 33b402a commit ed041a1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions integration/tests/cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,10 @@ do_test_deploy() {
# * https://github.com/lib/pq/issues/870
# * https://github.com/lib/pq/pull/871
# * https://github.com/lib/pq/issues/939
docker exec -t "$_frontend1_container_name" "$cli_bin" restart-services
docker exec -t "$_frontend2_container_name" "$cli_bin" restart-services
docker exec -t "$_frontend1_container_name" "$cli_bin" iam token create --admin "$(date +%s)" > /dev/null || true
docker exec -t "$_frontend1_container_name" "$cli_bin" iam token create --admin "$(date +%s)"
docker exec -t "$_frontend2_container_name" "$cli_bin" iam token create --admin "$(date +%s)" > /dev/null || true
docker exec -t "$_frontend2_container_name" "$cli_bin" iam token create --admin "$(date +%s)"

run_inspec_tests "${A2_ROOT_DIR}" "a2-iam-v2-integration"
local admin_token
Expand Down

0 comments on commit ed041a1

Please sign in to comment.