Skip to content

Commit

Permalink
Merge pull request #14433 from wallyworld/cktest-controller-name
Browse files Browse the repository at this point in the history
Fix controller name in ck test teardown
  • Loading branch information
wallyworld committed Aug 6, 2022
2 parents 34541a8 + 0c26704 commit b2d5fae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/suites/ck/task.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ test_ck() {

test_deploy_ck

# CK takes too long to tear down (1h+), so forcibly destroy it
juju kill-controller -y -t 0s "test-ck" || true
if [[ ${BOOTSTRAP_REUSE:-} != "true" ]]; then
# CK takes too long to tear down (1h+), so forcibly destroy it
juju kill-controller -y -t 0 "${BOOTSTRAPPED_JUJU_CTRL_NAME}" || true
fi
}

0 comments on commit b2d5fae

Please sign in to comment.