From bfb95e632cd0267b502ac4e212b43dfa6f349320 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 3 Dec 2024 00:55:50 -0500 Subject: [PATCH] tests: revert change to scheduler-k3s bats tests --- tests/unit/scheduler-k3s-1.bats | 10 +++++----- tests/unit/scheduler-k3s-2.bats | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/unit/scheduler-k3s-1.bats b/tests/unit/scheduler-k3s-1.bats index f6a73fe72..f9fbcd455 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 c2fbe7b9c..676f5612f 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