Skip to content

Commit

Permalink
test/k8s: add host firewall workaround for svc host policy test.
Browse files Browse the repository at this point in the history
[ upstream commit 0cfce97 ]

Change 439a0a0 introduced workaround to common flake we've been seeing relating to issue #15455.

Any test enabling hostfw/host-policy will may suffer from the same issue.

Addresses: #25411

Signed-off-by: Tom Hadlaw <tom.hadlaw@isovalent.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
  • Loading branch information
tommyp1ckles authored and tklauser committed May 24, 2023
1 parent 06b25f2 commit 8199844
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/k8s/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,8 @@ Secondary Interface %s :: IPv4: (%s, %s), IPv6: (%s, %s)`,
"hostFirewall.enabled": "true",
})

prepareHostPolicyEnforcement(kubectl)

ccnpHostPolicy = helpers.ManifestGet(kubectl.BasePath(), "ccnp-host-policy-nodeport-tests.yaml")
_, err := kubectl.CiliumClusterwidePolicyAction(ccnpHostPolicy,
helpers.KubectlApply, helpers.HelperTimeout)
Expand Down

0 comments on commit 8199844

Please sign in to comment.