@@ -99,7 +99,7 @@ var _ = g.Describe("[sig-cli] oc idle [apigroup:apps.openshift.io][apigroup:rout
9999 o .Expect (err ).NotTo (o .HaveOccurred ())
100100
101101 g .By (fmt .Sprintf ("wait until endpoint addresses are scaled to %s" , scaledReplicaCount ))
102- err = wait .PollUntilContextTimeout (ctx , time .Second , 60 * time .Second , true , func (ctx context.Context ) (done bool , err error ) {
102+ err = wait .PollUntilContextTimeout (ctx , time .Second , 5 * time .Minute , true , func (ctx context.Context ) (done bool , err error ) {
103103 out , err := oc .Run ("get" ).Args ("endpointslices" , "-l" , "kubernetes.io/service-name=idling-echo" , "--template={{ len (index .items 0).endpoints }}" , "--output=go-template" ).Output ()
104104 if err != nil || out != scaledReplicaCount {
105105 return false , nil
@@ -242,7 +242,7 @@ var _ = g.Describe("[sig-cli] oc idle Deployments [apigroup:route.openshift.io][
242242 o .Expect (err ).NotTo (o .HaveOccurred ())
243243
244244 g .By (fmt .Sprintf ("wait until endpoint addresses are scaled to %s" , scaledReplicaCount ))
245- err = wait .PollUntilContextTimeout (ctx , time .Second , 60 * time .Second , true , func (ctx context.Context ) (done bool , err error ) {
245+ err = wait .PollUntilContextTimeout (ctx , time .Second , 5 * time .Minute , true , func (ctx context.Context ) (done bool , err error ) {
246246 out , err := oc .Run ("get" ).Args ("endpointslices" , "-l" , "kubernetes.io/service-name=idling-echo" , "--template={{ len (index .items 0).endpoints }}" , "--output=go-template" ).Output ()
247247 if err != nil || out != scaledReplicaCount {
248248 return false , nil
0 commit comments