Merge pull request #125729 from p0lyn0mial/upstream-deflake-test-wait-until-fresh

storage/cacher/cacher_whitebox_test.go: deflake TestWaitUntilFreshAndListFromCache
This commit is contained in:
Kubernetes Prow Robot
2024-06-27 04:21:58 -07:00
committed by GitHub

View File

@@ -535,6 +535,7 @@ func TestWaitUntilFreshAndList(t *testing.T) {
func TestWaitUntilFreshAndListFromCache(t *testing.T) {
featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ConsistentListFromCache, true)
forceRequestWatchProgressSupport(t)
ctx := context.Background()
store := newTestWatchCache(3, &cache.Indexers{})
defer store.Stop()