@@ -56,8 +56,10 @@ var _ = Describe("Atlas Third-Party Integrations Controller", Ordered, Label("in
56
56
var testNamespace * corev1.Namespace
57
57
58
58
_ = BeforeAll (func () {
59
+ if ! version .IsExperimental () {
60
+ Skip ("Skipping experimental test on non experimental build" )
61
+ }
59
62
deletionProtectionOff := false
60
- Expect (version .IsExperimental ()).To (BeTrue ())
61
63
ako = runTestAKO (DefaultGlobalCredentials , control .MustEnvVar ("OPERATOR_NAMESPACE" ), deletionProtectionOff )
62
64
ako .Start (GinkgoT ())
63
65
@@ -160,62 +162,53 @@ var _ = Describe("Atlas Third-Party Integrations Controller", Ordered, Label("in
160
162
})
161
163
},
162
164
Entry ("Test[datadog]: Datadog integration with a parent project" ,
163
- Label ("datadog" ),
164
165
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/datadog.sample.yml" )),
165
166
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/datadog.update.yml" )),
166
167
"atlas-datadog-integ" ,
167
168
),
168
169
Entry ("Test[msteams]: Microsoft Teams integration with a parent project" ,
169
- Label ("msteams" ),
170
170
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/msteams.sample.yml" )),
171
171
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/msteams.update.yml" )),
172
172
"atlas-msteams-integ" ,
173
173
),
174
174
Entry ("Test[newrelic]: New Relic integration with a parent project" ,
175
- Label ("newrelic" ),
176
175
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/newrelic.sample.yml" )),
177
176
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/newrelic.update.yml" )),
178
177
"atlas-newrelic-integ" ,
179
178
),
180
179
Entry ("Test[opsgenie]: Ops Genie integration with a parent project" ,
181
- Label ("opsgenie" ),
182
180
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/opsgenie.sample.yml" )),
183
181
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/opsgenie.update.yml" )),
184
182
"atlas-opsgenie-integ" ,
185
183
),
186
184
Entry ("Test[pagerduty]: PagerDuty integration with a parent project" ,
187
- Label ("pagerduty" ),
188
185
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/pagerduty.sample.yml" )),
189
186
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/pagerduty.update.yml" )),
190
187
"atlas-pagerduty-integ" ,
191
188
),
192
189
Entry ("Test[prometheus]: Prometheus integration with a parent project" ,
193
- Label ("prometheus" ),
194
190
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/prometheus.sample.yml" )),
195
191
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/prometheus.update.yml" )),
196
192
"atlas-prometheus-integ" ,
197
193
),
198
194
Entry ("Test[slack]: Slack integration with a parent project" ,
199
- Label ("slack" ),
200
195
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/slack.sample.yml" )),
201
196
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/slack.update.yml" )),
202
197
"atlas-slack-integ" ,
203
198
),
204
199
Entry ("Test[victorops]: Victor Ops integration with a parent project" ,
205
- Label ("victorops" ),
206
200
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/victorops.sample.yml" )),
207
201
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/victorops.update.yml" )),
208
202
"atlas-victorops-integ" ,
209
203
),
210
204
Entry ("Test[webhook]: Webhooks integration with a parent project" ,
211
- Label ("webhook" ),
212
205
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/webhook.sample.yml" )),
213
206
yml .MustParseObjects (yml .MustOpen (integrations , "integrations/webhook.update.yml" )),
214
207
"atlas-webhook-integ" ,
215
208
),
216
209
)
217
210
218
- It ("Can handle isolated integrations" , Label ( "isolated-integration" ), func () {
211
+ It ("Can handle isolated integrations" , func () {
219
212
project := akov2.AtlasProject {
220
213
TypeMeta : v1.TypeMeta {Kind : "AtlasProject" , APIVersion : akov2 .GroupVersion .String ()},
221
214
ObjectMeta : v1.ObjectMeta {Name : "atlas-project" , Namespace : testNamespace .Name },
0 commit comments