Move removal of containers into teardown helper

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>

Closes: #68
Approved by: rhatdan
This commit is contained in:
Matthew Heon 2017-11-28 21:50:58 -05:00 committed by Atomic Bot
parent 63c09d1017
commit 3180e38795
12 changed files with 1 additions and 11 deletions

View file

@ -161,6 +161,7 @@ function wait_until_reachable() {
}
function cleanup_test() {
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm --force --all"
rm -rf "$TESTDIR"
}

View file

@ -7,7 +7,6 @@ function setup() {
}
function teardown() {
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f -a"
cleanup_test
}

View file

@ -3,7 +3,6 @@
load helpers
function teardown() {
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f -a"
cleanup_test
}

View file

@ -3,7 +3,6 @@
load helpers
function teardown() {
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm --force --all"
cleanup_test
}

View file

@ -3,7 +3,6 @@
load helpers
function teardown() {
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f -a"
cleanup_test
}

View file

@ -5,7 +5,6 @@ load helpers
IMAGE="redis:alpine"
function teardown() {
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f -a"
cleanup_test
}

View file

@ -7,7 +7,6 @@ function setup() {
}
function teardown() {
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f -a"
cleanup_test
}

View file

@ -8,7 +8,6 @@ function setup() {
}
function teardown() {
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm --force --all"
cleanup_test
}

View file

@ -7,7 +7,6 @@ function setup() {
}
function teardown() {
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm --force --all"
cleanup_test
}

View file

@ -3,7 +3,6 @@
load helpers
function teardown() {
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f -a"
cleanup_test
}

View file

@ -3,7 +3,6 @@
load helpers
function teardown() {
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm -f -a"
cleanup_test
}

View file

@ -3,7 +3,6 @@
load helpers
function teardown() {
run bash -c "${KPOD_BINARY} ${KPOD_OPTIONS} rm --force --all"
cleanup_test
}