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:
Kubernetes Prow Robot 2024-03-13 04:59:33 -07:00 committed by GitHub
commit 308d664e3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1481,7 +1481,6 @@ func RunWatchSemantics(ctx context.Context, t *testing.T, store storage.Interfac
// make sure we only get initial events
testCheckResultsInStrictOrder(t, w, scenario.expectedInitialEvents(createdPods))
testCheckResultsInStrictOrder(t, w, scenario.expectedInitialEventsBookmark(createdPods))
testCheckNoMoreResults(t, w)
createdPods = []*example.Pod{}
// add a pod that is greater than the storage's RV when the watch was started