Skip to content

Commit 5f3d31a

Browse files
committed
shutdown domain after test completes
1 parent d52ce9a commit 5f3d31a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/ITOperator.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ public void test5CreateConfiguredDomainInTest2NS() throws Exception {
159159
if (operator1 == null) {
160160
operator1 = TestUtils.createOperator(op1YamlFile);
161161
}
162-
if (domain1 == null) {
162+
// if (domain1 == null) {
163163
domain1 = TestUtils.createDomain(domain1YamlFile);
164-
}
164+
// }
165165
logger.info("Checking if operator2 is running, if not creating");
166166
if (operator2 == null) {
167167
operator2 = TestUtils.createOperator(op2YamlFile);
@@ -184,6 +184,7 @@ public void test5CreateConfiguredDomainInTest2NS() throws Exception {
184184
logger.info("Verify no impact on domain4");
185185
domain4.verifyDomainCreated();
186186
domain4.destroy();
187+
domain1.destroy();
187188
logger.info("SUCCESS - test5CreateConfiguredDomainInTest2NS");
188189
}
189190

0 commit comments

Comments
 (0)