Skip to content

Commit 51a106e

Browse files
committed
add some debug statements
1 parent f82b75b commit 51a106e

File tree

1 file changed

+6
-3
lines changed
  • integration-tests/src/test/java/oracle/kubernetes/operator

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ protected static void staticUnPrepare() throws Exception {
120120
if (!QUICKTEST) {
121121
ExecResult result = TestUtils.exec("kubectl delete -f " + mysqlYamlFile);
122122
destroySitConfigDomain();
123+
if (operator1 != null) {
124+
logger.log(Level.INFO, "Destroying operator...");
125+
operator1.destroy();
126+
operator1 = null;
127+
}
123128
tearDown(new Object() {}.getClass().getEnclosingClass().getSimpleName());
124129
}
125130
}
@@ -157,11 +162,9 @@ private static Domain createSitConfigDomain(String domainInputYaml, String domai
157162
*/
158163
private static void destroySitConfigDomain() throws Exception {
159164
if (domain != null) {
165+
logger.log(Level.INFO, "Destroying domain...");
160166
domain.destroy();
161167
}
162-
if (operator1 != null) {
163-
operator1.destroy();
164-
}
165168
}
166169

167170
/**

0 commit comments

Comments
 (0)