Increase load balancer timeout in test cases

In a heavily contested AWS account (that was close to rate limits)
it took more than 2m for the load balancer to begin accepting
requests. This increases the timeout to 3m to give upgrade tests
more of a chance to pass in a contentious environment.
This commit is contained in:
Clayton Coleman 2019-06-13 14:09:48 -04:00
parent 25a701db68
commit e7d26b3111
No known key found for this signature in database
GPG Key ID: 3D16906B4F1C5CB3

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