Skip to content

Commit 94369ac

Browse files
committed
moved uninstall Elastic Stack before teardown to avoid Jenkins failure jenkins-ignore
1 parent b117c79 commit 94369ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,6 @@ public static void staticUnPrepare() throws Exception {
109109
logger.info("BEGIN");
110110
logger.info("Run once, release cluster lease");
111111

112-
tearDown(new Object() {}.getClass().getEnclosingClass().getSimpleName());
113-
114112
// Uninstall Elastic Stack
115113
StringBuffer cmd =
116114
new StringBuffer("kubectl delete -f ")
@@ -120,6 +118,8 @@ public static void staticUnPrepare() throws Exception {
120118
logger.info("Command to uninstall Elastic Stack: " + cmd.toString());
121119
TestUtils.exec(cmd.toString());
122120

121+
tearDown(new Object() {}.getClass().getEnclosingClass().getSimpleName());
122+
123123
logger.info("SUCCESS");
124124
}
125125
}

0 commit comments

Comments
 (0)