Skip to content

Commit

Permalink
Fix wasm ingress test
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
  • Loading branch information
brandond committed Feb 4, 2025
1 parent 6bcd576 commit f421fc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/e2e/amd64_resource_files/wasm-workloads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ metadata:
namespace: default
annotations:
ingress.kubernetes.io/ssl-redirect: "false"
kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.middlewares: default-strip-prefix@kubernetescrd
spec:
rules:
Expand Down
5 changes: 3 additions & 2 deletions tests/e2e/wasm/wasm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,9 @@ var _ = Describe("Verify Can run Wasm workloads", Ordered, func() {

Context("Verify Wasm workloads can run on the cluster", func() {
It("Deploy Wasm workloads", func() {
out, err := e2e.DeployWorkload("wasm-workloads.yaml", kubeConfigFile, false)
Expect(err).NotTo(HaveOccurred(), out)
Eventually(func() (string, error) {
return e2e.DeployWorkload("wasm-workloads.yaml", kubeConfigFile, false)
}, "240s", "5s").Should(Succeed())
})

It("Wait for slight Pod to be up and running", func() {
Expand Down

0 comments on commit f421fc4

Please sign in to comment.