Explicitly disable ConsistentListFromCache in TestGetListNonRecursiveCacheBypass

This commit is contained in:
Marek Siarkowicz 2024-02-26 16:43:24 +01:00
parent 1519f80281
commit 4e51e9cff8

View File

@ -285,6 +285,7 @@ func testGetListCacheBypass(t *testing.T, options storage.ListOptions, expectByp
}
func TestGetListNonRecursiveCacheBypass(t *testing.T) {
featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ConsistentListFromCache, false)
backingStorage := &dummyStorage{}
cacher, _, err := newTestCacher(backingStorage)
if err != nil {