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
@@ -1375,50 +1375,3 @@ retriesLoop:
1375
1375
break retriesLoop
1376
1376
}
1377
1377
}
1378
-
1379
-
// WatchUntilWithoutRetry ...
1380
-
// reads items from the watch until each provided condition succeeds, and then returns the last watch
1381
-
// encountered. The first condition that returns an error terminates the watch (and the event is also returned).
1382
-
// If no event has been received, the returned event will be nil.
1383
-
// Conditions are satisfied sequentially so as to provide a useful primitive for higher level composition.
1384
-
// Waits until context deadline or until context is canceled.
1385
-
//
1386
-
// 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