diff --git a/test/e2e/framework/util.go b/test/e2e/framework/util.go index 789c4f5216c..3749fa68eed 100644 --- a/test/e2e/framework/util.go +++ b/test/e2e/framework/util.go @@ -1325,6 +1325,7 @@ func hasRemainingContent(c clientset.Interface, dynamicClient dynamic.Interface, if err != nil { return false, err } + resources = discovery.FilteredBy(discovery.SupportsAllVerbs{Verbs: []string{"list", "delete"}}, resources) groupVersionResources, err := discovery.GroupVersionResources(resources) if err != nil { return false, err