mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 11:13:48 +00:00
storage/cacher/cacher_whitebox_test.go: deflake TestWaitUntilFreshAndListFromCache
This commit is contained in:
parent
4b2fafc75e
commit
662672a6ca
@ -535,6 +535,7 @@ func TestWaitUntilFreshAndList(t *testing.T) {
|
|||||||
|
|
||||||
func TestWaitUntilFreshAndListFromCache(t *testing.T) {
|
func TestWaitUntilFreshAndListFromCache(t *testing.T) {
|
||||||
featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ConsistentListFromCache, true)
|
featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ConsistentListFromCache, true)
|
||||||
|
forceRequestWatchProgressSupport(t)
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
store := newTestWatchCache(3, &cache.Indexers{})
|
store := newTestWatchCache(3, &cache.Indexers{})
|
||||||
defer store.Stop()
|
defer store.Stop()
|
||||||
|
Loading…
Reference in New Issue
Block a user