mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Explicitly disable ConsistentListFromCache in TestGetListNonRecursiveCacheBypass
This commit is contained in:
parent
1519f80281
commit
4e51e9cff8
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user