diff --git a/staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go b/staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go index 8c057da40e4..01995b1b1b6 100644 --- a/staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go +++ b/staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go @@ -381,18 +381,9 @@ func TestSendInitialEventsBackwardCompatibility(t *testing.T) { } func TestWatchSemantics(t *testing.T) { - t.Run("WatchFromStorageWithoutResourceVersion=true", func(t *testing.T) { - defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.WatchFromStorageWithoutResourceVersion, true)() - store, terminate := testSetupWithEtcdAndCreateWrapper(t) - t.Cleanup(terminate) - storagetesting.RunWatchSemantics(context.TODO(), t, store) - }) - t.Run("WatchFromStorageWithoutResourceVersion=false", func(t *testing.T) { - defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.WatchFromStorageWithoutResourceVersion, false)() - store, terminate := testSetupWithEtcdAndCreateWrapper(t) - t.Cleanup(terminate) - storagetesting.RunWatchSemantics(context.TODO(), t, store) - }) + store, terminate := testSetupWithEtcdAndCreateWrapper(t) + t.Cleanup(terminate) + storagetesting.RunWatchSemantics(context.TODO(), t, store) } func TestWatchSemanticInitialEventsExtended(t *testing.T) {