Skip to content

Commit

Permalink
tests: revert change to scheduler-k3s bats tests
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Dec 3, 2024
1 parent 43a771e commit bfb95e6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions tests/unit/scheduler-k3s-1.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions tests/unit/scheduler-k3s-2.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bfb95e6

Please sign in to comment.