@@ -19,8 +19,8 @@ import (
19
19
"k8s.io/apimachinery/pkg/api/equality"
20
20
k8serrors "k8s.io/apimachinery/pkg/api/errors"
21
21
"k8s.io/apimachinery/pkg/api/meta"
22
- "k8s.io/apimachinery/pkg/fields"
23
22
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
23
+ "k8s.io/apimachinery/pkg/fields"
24
24
k8slabels "k8s.io/apimachinery/pkg/labels"
25
25
"k8s.io/apimachinery/pkg/runtime"
26
26
"k8s.io/apimachinery/pkg/selection"
@@ -64,10 +64,10 @@ var _ = Describe("ClusterServiceVersion", func() {
64
64
65
65
When ("a CustomResourceDefinition was installed alongside a ClusterServiceVersion" , func () {
66
66
var (
67
- ns corev1.Namespace
68
- crd apiextensionsv1.CustomResourceDefinition
69
- og operatorsv1.OperatorGroup
70
- apiname string
67
+ ns corev1.Namespace
68
+ crd apiextensionsv1.CustomResourceDefinition
69
+ og operatorsv1.OperatorGroup
70
+ apiname string
71
71
apifullname string
72
72
)
73
73
@@ -144,7 +144,8 @@ var _ = Describe("ClusterServiceVersion", func() {
144
144
}).Should (WithTransform (k8serrors .IsNotFound , BeTrue ()))
145
145
})
146
146
147
- It ("can satisfy an associated ClusterServiceVersion's ownership requirement" , func () {
147
+ // issue: https://github.com/operator-framework/operator-lifecycle-manager/issues/2646
148
+ It ("[FLAKE] can satisfy an associated ClusterServiceVersion's ownership requirement" , func () {
148
149
associated := operatorsv1alpha1.ClusterServiceVersion {
149
150
ObjectMeta : metav1.ObjectMeta {
150
151
Name : "associated-csv" ,
@@ -261,7 +262,8 @@ var _ = Describe("ClusterServiceVersion", func() {
261
262
}).Should (Succeed ())
262
263
})
263
264
264
- It ("can satisfy an unassociated ClusterServiceVersion's non-ownership requirement" , func () {
265
+ // issue:https://github.com/operator-framework/operator-lifecycle-manager/issues/2639
266
+ It ("[FLAKE] can satisfy an unassociated ClusterServiceVersion's non-ownership requirement" , func () {
265
267
unassociated := operatorsv1alpha1.ClusterServiceVersion {
266
268
ObjectMeta : metav1.ObjectMeta {
267
269
Name : "unassociated-csv" ,
@@ -4206,7 +4208,7 @@ var _ = Describe("ClusterServiceVersion", func() {
4206
4208
4207
4209
var _ = Describe ("Disabling copied CSVs" , func () {
4208
4210
var (
4209
- ns corev1.Namespace
4211
+ ns corev1.Namespace
4210
4212
csv operatorsv1alpha1.ClusterServiceVersion
4211
4213
)
4212
4214
@@ -4255,7 +4257,8 @@ var _ = Describe("Disabling copied CSVs", func() {
4255
4257
})
4256
4258
4257
4259
When ("an operator is installed in AllNamespace mode" , func () {
4258
- It ("should have Copied CSVs in all other namespaces" , func () {
4260
+ // issue: https://github.com/operator-framework/operator-lifecycle-manager/issues/2643
4261
+ It ("[FLAKE] should have Copied CSVs in all other namespaces" , func () {
4259
4262
Eventually (func () error {
4260
4263
requirement , err := k8slabels .NewRequirement (operatorsv1alpha1 .CopiedLabelKey , selection .Equals , []string {csv .GetNamespace ()})
4261
4264
if err != nil {
@@ -4335,7 +4338,8 @@ var _ = Describe("Disabling copied CSVs", func() {
4335
4338
}).Should (Succeed ())
4336
4339
})
4337
4340
4338
- It ("should be reflected in the olmConfig.Status.Condition array that the expected number of copied CSVs exist" , func () {
4341
+ // issue: https://github.com/operator-framework/operator-lifecycle-manager/issues/2634
4342
+ It ("[FLAKE] should be reflected in the olmConfig.Status.Condition array that the expected number of copied CSVs exist" , func () {
4339
4343
Eventually (func () error {
4340
4344
var olmConfig operatorsv1.OLMConfig
4341
4345
if err := ctx .Ctx ().Client ().Get (context .TODO (), apitypes.NamespacedName {Name : "cluster" }, & olmConfig ); err != nil {
@@ -4391,7 +4395,8 @@ var _ = Describe("Disabling copied CSVs", func() {
4391
4395
}).Should (Succeed ())
4392
4396
})
4393
4397
4394
- It ("should have copied CSVs in all other Namespaces" , func () {
4398
+ // issue: https://github.com/operator-framework/operator-lifecycle-manager/issues/2634
4399
+ It ("[FLAKE] should have copied CSVs in all other Namespaces" , func () {
4395
4400
Eventually (func () error {
4396
4401
// find copied csvs...
4397
4402
requirement , err := k8slabels .NewRequirement (operatorsv1alpha1 .CopiedLabelKey , selection .Equals , []string {csv .GetNamespace ()})
@@ -4420,7 +4425,8 @@ var _ = Describe("Disabling copied CSVs", func() {
4420
4425
}).Should (Succeed ())
4421
4426
})
4422
4427
4423
- It ("should be reflected in the olmConfig.Status.Condition array that the expected number of copied CSVs exist" , func () {
4428
+ // issue: https://github.com/operator-framework/operator-lifecycle-manager/issues/2641
4429
+ It ("[FLAKE] should be reflected in the olmConfig.Status.Condition array that the expected number of copied CSVs exist" , func () {
4424
4430
Eventually (func () error {
4425
4431
var olmConfig operatorsv1.OLMConfig
4426
4432
if err := ctx .Ctx ().Client ().Get (context .TODO (), apitypes.NamespacedName {Name : "cluster" }, & olmConfig ); err != nil {
0 commit comments