We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eda07ad + 9718e79 commit 92e471aCopy full SHA for 92e471a
test/e2e/apimachinery/discovery.go
@@ -18,6 +18,8 @@ package apimachinery
18
19
import (
20
"context"
21
+ "strings"
22
+
23
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
24
utilversion "k8s.io/apimachinery/pkg/util/version"
25
"k8s.io/apiserver/pkg/endpoints/discovery"
@@ -89,6 +91,10 @@ var _ = SIGDescribe("Discovery", func() {
89
91
framework.ExpectNotEqual(len(list.Groups), 0, "Missing APIGroups")
90
92
93
for _, group := range list.Groups {
94
+ if strings.HasSuffix(group.Name, ".example.com") {
95
+ // ignore known example dynamic API groups that are added/removed during the e2e test run
96
+ continue
97
+ }
98
framework.Logf("Checking APIGroup: %v", group.Name)
99
100
// locate APIGroup endpoint
0 commit comments