diff --git a/tests/unit/scheduler-k3s-1.bats b/tests/unit/scheduler-k3s-1.bats index f6a73fe725a..f9fbcd45578 100644 --- a/tests/unit/scheduler-k3s-1.bats +++ b/tests/unit/scheduler-k3s-1.bats @@ -11,11 +11,11 @@ setup() { export KUBECONFIG="/etc/rancher/k3s/k3s.yaml" } -# teardown_() { -# global_teardown -# dokku nginx:start -# uninstall_k3s || true -# } +teardown_() { + global_teardown + dokku nginx:start + uninstall_k3s || true +} @test "(scheduler-k3s) install traefik with taint" { if [[ -z "$DOCKERHUB_USERNAME" ]] || [[ -z "$DOCKERHUB_TOKEN" ]]; then diff --git a/tests/unit/scheduler-k3s-2.bats b/tests/unit/scheduler-k3s-2.bats index c2fbe7b9c4d..676f5612f1d 100644 --- a/tests/unit/scheduler-k3s-2.bats +++ b/tests/unit/scheduler-k3s-2.bats @@ -11,11 +11,11 @@ setup() { export KUBECONFIG="/etc/rancher/k3s/k3s.yaml" } -# teardown_() { -# global_teardown -# dokku nginx:start -# uninstall_k3s || true -# } +teardown_() { + global_teardown + dokku nginx:start + uninstall_k3s || true +} @test "(scheduler-k3s) deploy traefik [resource] [autoscaling]" { if [[ -z "$DOCKERHUB_USERNAME" ]] || [[ -z "$DOCKERHUB_TOKEN" ]]; then