You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -676,3 +676,50 @@ func updateReplicationControllerWithRetries(c clientset.Interface, namespace, na
676
676
}
677
677
returnrc, pollErr
678
678
}
679
+
680
+
// watchUntilWithoutRetry ...
681
+
// reads items from the watch until each provided condition succeeds, and then returns the last watch
682
+
// encountered. The first condition that returns an error terminates the watch (and the event is also returned).
683
+
// If no event has been received, the returned event will be nil.
684
+
// Conditions are satisfied sequentially so as to provide a useful primitive for higher level composition.
685
+
// Waits until context deadline or until context is canceled.
686
+
//
687
+
// the same as watchtools.UntilWithoutRetry, just without the closing of the watch - as for the purpose of being paired with WatchEventSequenceVerifier, the watch is needed for continual watch event collection
Copy file name to clipboardExpand all lines: test/e2e/framework/util.go
-47Lines changed: 0 additions & 47 deletions
Original file line number
Diff line number
Diff line change
@@ -1383,50 +1383,3 @@ retriesLoop:
1383
1383
break retriesLoop
1384
1384
}
1385
1385
}
1386
-
1387
-
// WatchUntilWithoutRetry ...
1388
-
// reads items from the watch until each provided condition succeeds, and then returns the last watch
1389
-
// encountered. The first condition that returns an error terminates the watch (and the event is also returned).
1390
-
// If no event has been received, the returned event will be nil.
1391
-
// Conditions are satisfied sequentially so as to provide a useful primitive for higher level composition.
1392
-
// Waits until context deadline or until context is canceled.
1393
-
//
1394
-
// the same as watchtools.UntilWithoutRetry, just without the closing of the watch - as for the purpose of being paired with WatchEventSequenceVerifier, the watch is needed for continual watch event collection
0 commit comments