From 27e20e226eb9494502dc406d4ab6ec91f071dcf2 Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Wed, 2 Jun 2021 13:04:13 +0200 Subject: [PATCH] e2e lb use same variable for endpoint path --- test/e2e/network/loadbalancer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/network/loadbalancer.go b/test/e2e/network/loadbalancer.go index a5f4b0d595c..5f668ea092a 100644 --- a/test/e2e/network/loadbalancer.go +++ b/test/e2e/network/loadbalancer.go @@ -1197,7 +1197,7 @@ var _ = common.SIGDescribe("ESIPP [Slow]", func() { ginkgo.By(fmt.Sprintf("checking source ip is NOT preserved through loadbalancer %v", ingressIP)) var clientIP string pollErr := wait.PollImmediate(framework.Poll, e2eservice.KubeProxyLagTimeout, func() (bool, error) { - clientIP, err := GetHTTPContent(ingressIP, svcTCPPort, e2eservice.KubeProxyLagTimeout, "/clientip") + clientIP, err := GetHTTPContent(ingressIP, svcTCPPort, e2eservice.KubeProxyLagTimeout, path) if err != nil { return false, nil }