Merge pull request #78992 from smarterclayton/increase_timeout

Increase load balancer timeout in test cases
This commit is contained in:
Kubernetes Prow Robot
2019-06-15 05:54:09 -07:00
committed by GitHub

View File

@@ -67,7 +67,11 @@ func (t *ServiceUpgradeTest) Setup(f *framework.Framework) {
// Hit it once before considering ourselves ready
ginkgo.By("hitting the pod through the service's LoadBalancer")
jig.TestReachableHTTP(tcpIngressIP, svcPort, framework.LoadBalancerLagTimeoutDefault)
timeout := framework.LoadBalancerLagTimeoutDefault
if framework.ProviderIs("aws") {
timeout = framework.LoadBalancerLagTimeoutAWS
}
jig.TestReachableHTTP(tcpIngressIP, svcPort, timeout)
t.jig = jig
t.tcpService = tcpService