mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 11:38:15 +00:00
Merge pull request #123887 from p0lyn0mial/upstream-cacher-decrease-running-time-of-tests
apiserver/storage/cacher: decrease the running time of tests in the cacher package.
This commit is contained in:
commit
308d664e3f
@ -1481,7 +1481,6 @@ func RunWatchSemantics(ctx context.Context, t *testing.T, store storage.Interfac
|
|||||||
// make sure we only get initial events
|
// make sure we only get initial events
|
||||||
testCheckResultsInStrictOrder(t, w, scenario.expectedInitialEvents(createdPods))
|
testCheckResultsInStrictOrder(t, w, scenario.expectedInitialEvents(createdPods))
|
||||||
testCheckResultsInStrictOrder(t, w, scenario.expectedInitialEventsBookmark(createdPods))
|
testCheckResultsInStrictOrder(t, w, scenario.expectedInitialEventsBookmark(createdPods))
|
||||||
testCheckNoMoreResults(t, w)
|
|
||||||
|
|
||||||
createdPods = []*example.Pod{}
|
createdPods = []*example.Pod{}
|
||||||
// add a pod that is greater than the storage's RV when the watch was started
|
// add a pod that is greater than the storage's RV when the watch was started
|
||||||
|
Loading…
Reference in New Issue
Block a user