mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-15 23:03:40 +00:00
Merge pull request #123994 from serathius/undo-double-run-test-watch-semantics
Undo double run of the TestWatchSemantics test to avoid hitting timeout
This commit is contained in:
commit
fe9e4698a3
@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
func TestWatchSemanticInitialEventsExtended(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user