Skip to content

Commit b2def44

Browse files
author
OpenShift Bot
authored
Merge pull request #12141 from mfojtik/increase-timeout
Merged by openshift-bot
2 parents ddc645f + 7d968f3 commit b2def44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/extended/idling/util.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
)
1111

1212
func waitForEndpointsAvailable(oc *exutil.CLI, serviceName string) error {
13-
return wait.Poll(200*time.Millisecond, 2*time.Minute, func() (bool, error) {
13+
return wait.Poll(200*time.Millisecond, 3*time.Minute, func() (bool, error) {
1414
ep, err := oc.KubeClient().Core().Endpoints(oc.Namespace()).Get(serviceName)
1515
// Tolerate NotFound b/c it could take a moment for the endpoints to be created
1616
if errors.TolerateNotFoundError(err) != nil {
@@ -22,7 +22,7 @@ func waitForEndpointsAvailable(oc *exutil.CLI, serviceName string) error {
2222
}
2323

2424
func waitForNoPodsAvailable(oc *exutil.CLI) error {
25-
return wait.Poll(200*time.Millisecond, 2*time.Minute, func() (bool, error) {
25+
return wait.Poll(200*time.Millisecond, 3*time.Minute, func() (bool, error) {
2626
//ep, err := oc.KubeClient().Core().Endpoints(oc.Namespace()).Get(serviceName)
2727
pods, err := oc.KubeClient().Core().Pods(oc.Namespace()).List(kapi.ListOptions{})
2828
if err != nil {

0 commit comments

Comments
 (0)