Skip to content

Commit

Permalink
remove port forwarding test that leveraged traefik auto forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeseese committed Apr 10, 2024
1 parent dd64d81 commit e2b79de
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions bats/tests/k8s/port-forwarding.bats
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,6 @@ spec:
EOF
}

@test 'connect to the service' {
# This can take 100s with old versions of traefik, and 15s with newer ones.
run try curl --silent --fail "http://localhost"
assert_success
assert_output "Hello World!"
}

@test 'fail to connect to the service on localhost without port forwarding' {
run try --max 5 curl --silent --fail "http://localhost:8080"
assert_failure
Expand Down

0 comments on commit e2b79de

Please sign in to comment.