File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
integration-tests/src/test/java/oracle/kubernetes/operator Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -159,9 +159,11 @@ public void test5CreateConfiguredDomainInTest2NS() throws Exception {
159
159
if (operator1 == null ) {
160
160
operator1 = TestUtils .createOperator (op1YamlFile );
161
161
}
162
- // if (domain1 == null) {
163
- domain1 = TestUtils .createDomain (domain1YamlFile );
164
- // }
162
+ if (domain1 == null ) {
163
+ domain1 = TestUtils .createDomain (domain1YamlFile );
164
+ } else {
165
+ domain1 .create ();
166
+ }
165
167
logger .info ("Checking if operator2 is running, if not creating" );
166
168
if (operator2 == null ) {
167
169
operator2 = TestUtils .createOperator (op2YamlFile );
@@ -234,10 +236,10 @@ public void test9CreateDomainOnExistingDir() throws Exception {
234
236
}
235
237
if (domain1 == null ) {
236
238
domain1 = TestUtils .createDomain (domain1YamlFile );
239
+ // create domain on existing dir
240
+ // domain1.destroy();
237
241
}
238
242
logger .info ("domain1 " + domain1 );
239
- // create domain on existing dir
240
- // domain1.destroy();
241
243
domain1 .createDomainOnExistingDirectory ();
242
244
logger .info ("SUCCESS - test9CreateDomainOnExistingDir" );
243
245
}
You can’t perform that action at this time.
0 commit comments