We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eeec7e commit 9cf2be3Copy full SHA for 9cf2be3
test/e2e/tests/load_balancing.go
@@ -420,7 +420,11 @@ var EndpointOverrideLoadBalancingTest = suite.ConformanceTest{
420
t.Run("header-based endpoint override with valid pod IP should route to specific pod", func(t *testing.T) {
421
// Use the first valid pod IP as override host
422
targetPodIP := validPodIPs[0]
423
- overrideHost := fmt.Sprintf("%s:%d", targetPodIP, servicePort)
+ format := "%s:%d"
424
+ if IPFamily == "ipv6" {
425
+ format = "[%s]:%d"
426
+ }
427
+ overrideHost := fmt.Sprintf(format, targetPodIP, servicePort)
428
429
// Get the expected pod name from our mapping
430
expectPodName := podIPToName[targetPodIP]
0 commit comments