storage/cacher/cacher_whitebox_test.go: deflake TestWaitUntilFreshAndListFromCache

This commit is contained in:
Lukasz Szaszkiewicz 2024-06-26 15:04:15 +02:00
parent 4b2fafc75e
commit 662672a6ca

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()