You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openshift/tests-extension/.openshift-tests-extension/openshift_payload_olmv1.json
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -441,6 +441,16 @@
441
441
"lifecycle": "blocking",
442
442
"environmentSelector": {}
443
443
},
444
+
{
445
+
"name": "[sig-olmv1][OCPFeatureGate:NewOLMOwnSingleNamespace][Skipped:Disconnected][Serial] OLMv1 operator installation support for ownNamespace and single namespace watch mode with quay-operator should install cluster extensions successfully in both singleNamespace and ownNamespace watch modes",
446
+
"labels": {},
447
+
"resources": {
448
+
"isolation": {}
449
+
},
450
+
"source": "openshift:payload:olmv1",
451
+
"lifecycle": "blocking",
452
+
"environmentSelector": {}
453
+
},
444
454
{
445
455
"name": "[sig-olmv1][OCPFeatureGate:NewOLMOwnSingleNamespace][Skipped:Disconnected][Serial] OLMv1 operator installation support for ownNamespace watch mode with an operator that does not support ownNamespace installation mode should fail to install a cluster extension successfully",
446
456
"originalName": "[sig-olmv1][OCPFeatureGate:NewOLMOwnSingleNamespace][Skipped:Disconnected] OLMv1 operator installation support for ownNamespace watch mode with an operator that does not support ownNamespace installation mode should fail to install a cluster extension successfully",
@@ -454,6 +464,16 @@
454
464
"lifecycle": "blocking",
455
465
"environmentSelector": {}
456
466
},
467
+
{
468
+
"name": "[sig-olmv1][OCPFeatureGate:NewOLMOwnSingleNamespace][Skipped:Disconnected][Serial] OLMv1 operator installation should reject invalid watch namespace configuration and update the status conditions accordingly should fail to install the ClusterExtension when watch namespace is invalid",
469
+
"labels": {},
470
+
"resources": {
471
+
"isolation": {}
472
+
},
473
+
"source": "openshift:payload:olmv1",
474
+
"lifecycle": "blocking",
475
+
"environmentSelector": {}
476
+
},
457
477
{
458
478
"name": "[sig-olmv1] OLMv1 should pass a trivial sanity check",
@@ -208,6 +209,174 @@ var _ = Describe("[sig-olmv1][OCPFeatureGate:NewOLMOwnSingleNamespace][Skipped:D
208
209
})
209
210
})
210
211
212
+
var_=Describe("[sig-olmv1][OCPFeatureGate:NewOLMOwnSingleNamespace][Skipped:Disconnected][Serial] OLMv1 operator installation support for ownNamespace and single namespace watch mode with quay-operator", Ordered, Serial, func() {
213
+
var (
214
+
k8sClient client.Client
215
+
activeNamespacesmap[string]struct{}
216
+
)
217
+
218
+
BeforeEach(func() {
219
+
By("checking if OpenShift is available for tests")
220
+
if!env.Get().IsOpenShift {
221
+
Skip("Requires OpenShift for the tests")
222
+
}
223
+
helpers.RequireOLMv1CapabilityOnOpenshift()
224
+
k8sClient=env.Get().K8sClient
225
+
activeNamespaces=map[string]struct{}{}
226
+
})
227
+
228
+
AfterEach(func(ctxSpecContext) {
229
+
ifCurrentSpecReport().Failed() {
230
+
forns:=rangeactiveNamespaces {
231
+
helpers.DescribeAllClusterExtensions(ctx, ns)
232
+
}
233
+
}
234
+
})
235
+
236
+
It("should install cluster extensions successfully in both singleNamespace and ownNamespace watch modes",
Expect(k8sClient.Delete(ctx, crb, client.PropagationPolicy(deletePolicy))).To(Succeed(), "failed to delete ClusterRoleBinding %q", crbName)
370
+
Expect(k8sClient.Delete(ctx, sa, client.PropagationPolicy(deletePolicy))).To(Succeed(), "failed to delete ServiceAccount %q", saName)
371
+
372
+
ifwatchNSObj!=nil {
373
+
Expect(k8sClient.Delete(ctx, watchNSObj, client.PropagationPolicy(deletePolicy))).To(Succeed(), "failed to delete watch namespace %q", watchNamespace)
374
+
}
375
+
Expect(k8sClient.Delete(ctx, installNS, client.PropagationPolicy(deletePolicy))).To(Succeed(), "failed to delete install namespace %q", installNamespace)
376
+
}
377
+
})
378
+
})
379
+
211
380
var_=Describe("[sig-olmv1][OCPFeatureGate:NewOLMOwnSingleNamespace][Skipped:Disconnected][Serial] OLMv1 operator installation support for ownNamespace watch mode with an operator that does not support ownNamespace installation mode", Ordered, Serial, func() {
212
381
var (
213
382
k8sClient client.Client
@@ -311,3 +480,110 @@ var _ = Describe("[sig-olmv1][OCPFeatureGate:NewOLMOwnSingleNamespace][Skipped:D
var_=Describe("[sig-olmv1][OCPFeatureGate:NewOLMOwnSingleNamespace][Skipped:Disconnected][Serial] OLMv1 operator installation should reject invalid watch namespace configuration and update the status conditions accordingly", Ordered, Serial, func() {
485
+
var (
486
+
k8sClient client.Client
487
+
namespacestring
488
+
testPrefix="invalidwatch"
489
+
)
490
+
491
+
varunique, saName, crbName, ceNamestring
492
+
BeforeEach(func() {
493
+
By("checking if OpenShift is available for tests")
0 commit comments