Explicitly disable ConsistentListFromCache in TestGetListNonRecursiveCacheBypass
This commit is contained in:
@@ -285,6 +285,7 @@ func testGetListCacheBypass(t *testing.T, options storage.ListOptions, expectByp
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestGetListNonRecursiveCacheBypass(t *testing.T) {
|
func TestGetListNonRecursiveCacheBypass(t *testing.T) {
|
||||||
|
featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ConsistentListFromCache, false)
|
||||||
backingStorage := &dummyStorage{}
|
backingStorage := &dummyStorage{}
|
||||||
cacher, _, err := newTestCacher(backingStorage)
|
cacher, _, err := newTestCacher(backingStorage)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user