Skip to content

Commit ad7164a

Browse files
committed
cleanup after test
1 parent bd643d6 commit ad7164a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public void cleanupOperatorAndDomain() throws Exception {
109109
TestUtils.exec("kubectl delete ns " + OP_NS + " --ignore-not-found");
110110
TestUtils.exec("kubectl delete ns " + DOM_NS + " --ignore-not-found");
111111
TestUtils.exec("kubectl get all --all-namespaces");
112+
TestUtils.exec("rm -rf " + Paths.get(opUpgradeTmpDir).toString());
112113
logger.log(Level.INFO, "+++++++++++++++Done AfterTest cleanup+++++++++++++++++++++");
113114
}
114115
}

integration-tests/src/test/java/oracle/kubernetes/operator/utils/Operator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ public void callHelmInstall() throws Exception {
326326
.append(" --set \"imagePullPolicy=")
327327
.append(imagePullPolicy)
328328
.append("\" --wait --timeout 60");
329+
TestUtils.exec("cat " + generatedInputYamlFile);
329330
logger.info("Running " + cmd);
330331
ExecResult result = ExecCommand.exec(cmd.toString());
331332
if (result.exitValue() != 0) {

0 commit comments

Comments
 (0)