Skip to content

Commit 0c93fdf

Browse files
committed
fix: give WAF gateway Programmed assert room for cold image pull
With the datum-downstream-gateway namespace now labelled, the downstream Envoy Gateway accepts the GatewayClass and programs waf-gw. CI evidence shows Envoy Gateway flushes the Programmed=True status at ~30s, missing chainsaw's 30s assert default by milliseconds: the merged Envoy fleet must first pull the contrib Envoy image and the Coraza WAF init image cold on the kind node, and Envoy Gateway only reports Programmed once those endpoints exist. Raise the Programmed assert timeout to 3m so the first-pull window does not flake the test, matching the longer timeouts the gateway-invalid-certificate suite already uses for the same data plane.
1 parent 0686ad4 commit 0c93fdf

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/e2e/trafficprotectionpolicy-enforce/chainsaw-test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@ spec:
123123
- type: OWASPCoreRuleSet
124124
owaspCoreRuleSet: {}
125125
- assert:
126+
# The downstream Envoy fleet pulls the contrib Envoy and Coraza WAF
127+
# init images cold on the kind node before its endpoints exist, and
128+
# Envoy Gateway only writes Programmed once they do. That first-pull
129+
# window overruns chainsaw's 30s assert default, so allow more time.
130+
timeout: 3m
126131
resource:
127132
apiVersion: gateway.networking.k8s.io/v1
128133
kind: Gateway

0 commit comments

Comments
 (0)