Skip to content

Commit

Permalink
Merge pull request kubernetes#23160 from smarterclayton/increase_lb_wait
Browse files Browse the repository at this point in the history
Increase the wait for the service upgrade e2e test for LB

Origin-commit: 2d4a4b9f0b15e8e2c164a312a968795da59ea591
  • Loading branch information
k8s-publishing-bot committed Jun 14, 2019
2 parents 94c956a + ca46ae0 commit 6e5f1ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/e2e/upgrades/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ limitations under the License.
package upgrades

import (
"time"

v1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/util/wait"
"k8s.io/kubernetes/test/e2e/framework"
Expand Down Expand Up @@ -67,7 +69,8 @@ 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)
// Load balancers can take more than 2 minutes in heavily contended AWS accounts
jig.TestReachableHTTP(tcpIngressIP, svcPort, 3*time.Minute)

t.jig = jig
t.tcpService = tcpService
Expand Down

0 comments on commit 6e5f1ac

Please sign in to comment.