Skip to content

Commit 503c357

Browse files
oilbeaterclaude
andauthored
test(e2e): increase VPC egress gateway curl timeout to 2 minutes (#6379)
BFD sessions in IPv6 KIND environments may take longer to establish, causing the always-active DROP rule (priority 29090) to catch traffic before the BFD-gated reroute rules (priority 29150/29100) become active. Increase the curl wait timeout from 30s to 2min to accommodate this. Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3543938 commit 503c357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/vpc-egress-gateway/e2e_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ func checkEgressAccess(f *framework.Framework, namespaceName, svrPodName, image,
456456
cmd := fmt.Sprintf("curl -q -s --connect-timeout 2 --max-time 2 %s/clientip", net.JoinHostPort(svrIP, svrPort))
457457
ginkgo.By(fmt.Sprintf(`Executing %q in pod %s/%s`, cmd, pod.Namespace, pod.Name))
458458
var clientIP string
459-
framework.WaitUntil(time.Second, 30*time.Second, func(_ context.Context) (bool, error) {
459+
framework.WaitUntil(time.Second, 2*time.Minute, func(_ context.Context) (bool, error) {
460460
output, err := e2epodoutput.RunHostCmd(pod.Namespace, pod.Name, cmd)
461461
if err != nil {
462462
return false, nil

0 commit comments

Comments
 (0)