@@ -21,7 +21,7 @@ const magicCatalogDir = "magiccatalog"
21
21
22
22
var _ = Describe ("Global Catalog Exclusion" , func () {
23
23
var (
24
- testNamespace corev1.Namespace
24
+ generatedNamespace corev1.Namespace
25
25
determinedE2eClient * util.DeterminedE2EClient
26
26
operatorGroup operatorsv1.OperatorGroup
27
27
localCatalog * MagicCatalog
@@ -42,7 +42,7 @@ var _ = Describe("Global Catalog Exclusion", func() {
42
42
TargetNamespaces : []string {e2eTestNamespace },
43
43
},
44
44
}
45
- testNamespace = SetupGeneratedTestNamespaceWithOperatorGroup (e2eTestNamespace , operatorGroup )
45
+ generatedNamespace = SetupGeneratedTestNamespaceWithOperatorGroup (e2eTestNamespace , operatorGroup )
46
46
47
47
By ("creating a broken catalog in the global namespace" )
48
48
globalCatalog := & v1alpha1.CatalogSource {
@@ -66,7 +66,7 @@ var _ = Describe("Global Catalog Exclusion", func() {
66
66
var err error = nil
67
67
68
68
fbcPath := filepath .Join (testdataDir , magicCatalogDir , "fbc_initial.yaml" )
69
- localCatalog , err = NewMagicCatalogFromFile (determinedE2eClient , testNamespace .GetName (), localCatalogName , fbcPath )
69
+ localCatalog , err = NewMagicCatalogFromFile (determinedE2eClient , generatedNamespace .GetName (), localCatalogName , fbcPath )
70
70
Expect (err ).To (Succeed ())
71
71
72
72
// deploy catalog blocks until the catalog has reached a ready state or fails
@@ -79,7 +79,7 @@ var _ = Describe("Global Catalog Exclusion", func() {
79
79
})
80
80
81
81
AfterEach (func () {
82
- TeardownNamespace (testNamespace .GetName ())
82
+ TeardownNamespace (generatedNamespace .GetName ())
83
83
})
84
84
85
85
When ("a subscription referring to the local catalog is created" , func () {
@@ -88,7 +88,7 @@ var _ = Describe("Global Catalog Exclusion", func() {
88
88
BeforeEach (func () {
89
89
subscription = & v1alpha1.Subscription {
90
90
ObjectMeta : metav1.ObjectMeta {
91
- Namespace : testNamespace .GetName (),
91
+ Namespace : generatedNamespace .GetName (),
92
92
Name : genName ("local-subscription-" ),
93
93
},
94
94
Spec : & v1alpha1.SubscriptionSpec {
0 commit comments