From a44ce346d7810465ceb15f421da972991b7b9245 Mon Sep 17 00:00:00 2001 From: Lukasz Szaszkiewicz Date: Fri, 28 Jul 2023 12:25:13 +0200 Subject: [PATCH] e2e/apimachinery/watchlist: stop panicking when run against unsupported cluster/environment --- test/e2e/apimachinery/watchlist.go | 1 - 1 file changed, 1 deletion(-) diff --git a/test/e2e/apimachinery/watchlist.go b/test/e2e/apimachinery/watchlist.go index 88b4bcf8a7c..754dd8d9564 100644 --- a/test/e2e/apimachinery/watchlist.go +++ b/test/e2e/apimachinery/watchlist.go @@ -52,7 +52,6 @@ var _ = SIGDescribe("API Streaming (aka. WatchList) [Serial] [Feature:WatchList] secretInformer := cache.NewSharedIndexInformer( &cache.ListWatch{ ListFunc: func(options metav1.ListOptions) (runtime.Object, error) { - framework.Fail("Unexpected list call") return nil, fmt.Errorf("unexpected list call") }, WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {