mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
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:
parent
25a701db68
commit
e7d26b3111
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user