Skip to content

Commit aeec7e7

Browse files
committed
adding javadoc for tearDown method
1 parent 6ef0084 commit aeec7e7

File tree

1 file changed

+10
-0
lines changed
  • integration-tests/src/test/java/oracle/kubernetes/operator

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,16 @@ private void callWebAppAndVerifyScaling(Domain domain, int replicas) throws Exce
597597
}
598598
}
599599

600+
/**
601+
* Calls statedump.sh which places k8s logs, descriptions, etc in directory
602+
* $RESULT_DIR/state-dump-logs and calls archive.sh on RESULT_DIR locally, and on PV_ROOT via a
603+
* job or pod. Also calls cleanup.sh which does a best-effort delete of acceptance test k8s
604+
* artifacts, the local test tmp directory, and the potentially remote domain pv directories.
605+
*
606+
* @param iTClassName - IT class name to be used in the archive file name
607+
* @throws Exception when errors while running statedump.sh or cleanup.sh scripts or while
608+
* renewing the lease for wercker run
609+
*/
600610
public static void tearDown(String iTClassName) throws Exception {
601611
logger.log(
602612
Level.INFO,

0 commit comments

Comments
 (0)