Skip to content

Commit b63b144

Browse files
Merge pull request #30036 from camilamacedo86/remove-first-migrated-test
OPRUN-3964: [olmv1] - Remove test [sig-olmv1][OCPFeatureGate:NewOLM] OLMv1 CRDs should be installed migrated to operator-controller repository/OTE
2 parents 43955be + 5fe409e commit b63b144

File tree

3 files changed

+0
-45
lines changed

3 files changed

+0
-45
lines changed

test/extended/olm/olmv1.go

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -31,48 +31,6 @@ const (
3131
reasonRetrying = "Retrying"
3232
)
3333

34-
var _ = g.Describe("[sig-olmv1][OCPFeatureGate:NewOLM] OLMv1 CRDs", func() {
35-
defer g.GinkgoRecover()
36-
oc := exutil.NewCLIWithoutNamespace("default")
37-
38-
g.It("should be installed", func(ctx g.SpecContext) {
39-
checkFeatureCapability(oc)
40-
41-
providedAPIs := []struct {
42-
group string
43-
version []string
44-
plural string
45-
}{
46-
{
47-
group: olmv1GroupName,
48-
version: []string{"v1"},
49-
plural: "clusterextensions",
50-
},
51-
{
52-
group: olmv1GroupName,
53-
version: []string{"v1"},
54-
plural: "clustercatalogs",
55-
},
56-
}
57-
58-
for _, api := range providedAPIs {
59-
g.By(fmt.Sprintf("checking %s at version %s [apigroup:%s]", api.plural, api.version, api.group))
60-
// Ensure expected version exists in spec.versions and is both served and stored
61-
var err error
62-
var raw string
63-
for _, ver := range api.version {
64-
raw, err = oc.AsAdmin().Run("get").Args("crds", fmt.Sprintf("%s.%s", api.plural, api.group), fmt.Sprintf("-o=jsonpath={.spec.versions[?(@.name==%q)]}", ver)).Output()
65-
if err == nil {
66-
break
67-
}
68-
}
69-
o.Expect(err).NotTo(o.HaveOccurred())
70-
o.Expect(raw).To(o.MatchRegexp(`served.?:true`))
71-
o.Expect(raw).To(o.MatchRegexp(`storage.?:true`))
72-
}
73-
})
74-
})
75-
7634
var _ = g.Describe("[sig-olmv1][OCPFeatureGate:NewOLM][Skipped:Disconnected] OLMv1 operator installation", func() {
7735
defer g.GinkgoRecover()
7836

test/extended/util/annotate/generated/zz_generated.annotations.go

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zz_generated.manifests/test-reporting.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,6 @@ spec:
952952
when the VMI attached to a secondary UDN is migrated between nodes'
953953
- featureGate: NewOLM
954954
tests:
955-
- testName: '[sig-olmv1][OCPFeatureGate:NewOLM] OLMv1 CRDs should be installed'
956955
- testName: '[sig-olmv1][OCPFeatureGate:NewOLM][Skipped:Disconnected] OLMv1 Catalogs
957956
should be installed'
958957
- testName: '[sig-olmv1][OCPFeatureGate:NewOLM][Skipped:Disconnected] OLMv1 New

0 commit comments

Comments
 (0)