Skip to content

Commit 9b4999b

Browse files
authored
restrict dual-stack-without-ipv4 e2e test to pdx only (#3700)
1 parent d3bbf91 commit 9b4999b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

test/e2e/ingress/vanilla_ingress_test.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,12 @@ var _ = Describe("vanilla ingress tests", func() {
745745
}
746746

747747
if tf.Options.IPFamily == "IPv6" {
748-
annotation["alb.ingress.kubernetes.io/ip-address-type"] = "dualstack-without-public-ipv4"
748+
// TODO: annotate to "dualstack-without-public-ipv4" for all regions once it's GA
749+
if tf.Options.AWSRegion == "us-west-2" {
750+
annotation["alb.ingress.kubernetes.io/ip-address-type"] = "dualstack-without-public-ipv4"
751+
} else {
752+
annotation["alb.ingress.kubernetes.io/ip-address-type"] = "dualstack"
753+
}
749754
}
750755

751756
ing := ingBuilder.

test/framework/utils/poll.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ const (
1313
// IngressReconcileTimeout is the timeout we expected the controller finishes reconcile for Ingresses.
1414
IngressReconcileTimeout = 1 * time.Minute
1515
// IngressDNSAvailableWaitTimeout is the timeout we expect the DNS records of ALB to be propagated.
16-
IngressDNSAvailableWaitTimeout = 5 * time.Minute
16+
IngressDNSAvailableWaitTimeout = 10 * time.Minute
1717
)

0 commit comments

Comments
 (0)