Merge pull request #123891 from p0lyn0mial/upstream-cacher-decrease-running-time-of-test-wait-unti-fresh

apiserver/storage/cacher: decrease of running time of TestWaitUntilWatchCacheFreshAndForceAllEvents
This commit is contained in:
Kubernetes Prow Robot 2024-03-13 06:49:18 -07:00 committed by GitHub
commit 3a75a8c8d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1724,6 +1724,7 @@ func TestWaitUntilWatchCacheFreshAndForceAllEvents(t *testing.T) {
for _, scenario := range scenarios {
t.Run(scenario.name, func(t *testing.T) {
t.Parallel()
var backingStorage *dummyStorage
if scenario.backingStorage != nil {
backingStorage = scenario.backingStorage