File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
integration-tests/src/test/java/oracle/weblogic/kubernetes Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -286,7 +286,6 @@ public static void initAll(@Namespaces(3) List<String> namespaces) {
286
286
@ Test
287
287
@ DisplayName ("Test introSpectVersion starting a introspector and updating domain status" )
288
288
@ Tag ("gate" )
289
- @ Tag ("crio" )
290
289
void testDomainIntrospectVersionNotRolling () {
291
290
// get the pod creation time stamps
292
291
Map <String , OffsetDateTime > pods = new LinkedHashMap <>();
Original file line number Diff line number Diff line change @@ -237,7 +237,6 @@ public static void initAll(@Namespaces(6) List<String> namespaces) {
237
237
@ Test
238
238
@ DisplayName ("Test domain events for various successful domain life cycle changes" )
239
239
@ Tag ("gate" )
240
- @ Tag ("crio" )
241
240
void testK8SEventsSuccess () {
242
241
OffsetDateTime timestamp = now ();
243
242
logger .info ("Creating domain" );
Original file line number Diff line number Diff line change @@ -311,7 +311,9 @@ public void beforeAll(ExtensionContext context) {
311
311
installTraefikLB ();
312
312
}
313
313
//install Oracle Database operator as a one time task
314
- installOracleDBOperator ();
314
+ if (!OCNE && !OKD && !CRIO ) {
315
+ installOracleDBOperator ();
316
+ }
315
317
316
318
// set initialization success to true, not counting the istio installation as not all tests use istio
317
319
isInitializationSuccessful = true ;
@@ -672,7 +674,9 @@ private void installTraefikLB() {
672
674
private void installOracleDBOperator () {
673
675
//install Oracle Database Operator
674
676
String namespace = ORACLE_OPERATOR_NS ;
675
- assertDoesNotThrow (() -> new Namespace ().name (namespace ).create ());
677
+ if (!assertDoesNotThrow (() -> Namespace .exists (namespace ))) {
678
+ assertDoesNotThrow (() -> new Namespace ().name (namespace ).create ());
679
+ }
676
680
assertDoesNotThrow (() -> installDBOperator (), "Failed to install database operator" );
677
681
}
678
682
You can’t perform that action at this time.
0 commit comments