mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-16 15:20:17 +00:00
Undo double run of the TestWatchSemantics test to avoid hitting timeout
This commit is contained in:
parent
a1605fb3dd
commit
225749eb68
@ -381,18 +381,9 @@ func TestSendInitialEventsBackwardCompatibility(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestWatchSemantics(t *testing.T) {
|
func TestWatchSemantics(t *testing.T) {
|
||||||
t.Run("WatchFromStorageWithoutResourceVersion=true", func(t *testing.T) {
|
store, terminate := testSetupWithEtcdAndCreateWrapper(t)
|
||||||
defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.WatchFromStorageWithoutResourceVersion, true)()
|
t.Cleanup(terminate)
|
||||||
store, terminate := testSetupWithEtcdAndCreateWrapper(t)
|
storagetesting.RunWatchSemantics(context.TODO(), t, store)
|
||||||
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)
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestWatchSemanticInitialEventsExtended(t *testing.T) {
|
func TestWatchSemanticInitialEventsExtended(t *testing.T) {
|
||||||
|
Loading…
Reference in New Issue
Block a user