Skip to content

Commit 9e066f1

Browse files
committed
debug
1 parent eb8aece commit 9e066f1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static void staticUnPrepare() throws Exception {
5454
logger.info("BEGIN");
5555
logger.info("Run once, release cluster lease");
5656

57-
tearDown(new Object() {}.getClass().getEnclosingClass().getSimpleName());
57+
// tearDown(new Object() {}.getClass().getEnclosingClass().getSimpleName());
5858

5959
logger.info("SUCCESS");
6060
}
@@ -95,8 +95,8 @@ public void testDomainOnPVUsingWLST() throws Exception {
9595

9696
testCompletedSuccessfully = true;
9797
} finally {
98-
if (domain != null && !SMOKETEST && (JENKINS || testCompletedSuccessfully))
99-
domain.shutdownUsingServerStartPolicy();
98+
/* if (domain != null && !SMOKETEST && (JENKINS || testCompletedSuccessfully))
99+
domain.shutdownUsingServerStartPolicy(); */
100100
}
101101

102102
logger.info("SUCCESS - " + testMethodName);

integration-tests/src/test/resources/statedump.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,13 @@ function state_dump {
9696
local outfile=${DUMP_DIR}/archive_pv_job.out
9797

9898
if [ "$JENKINS" = "true" ] || [ "$SHARED_CLUSTER" = "true" ]; then
99+
echo "Running $SCRIPTPATH/krun.sh -i openjdk:11-oracle -t 300 -d ${RESULT_DIR} -m ${PV_ROOT}:/sharedparent -c 'jar cf /sharedparent/pvarchive.jar /sharedparent/acceptance_test_pv' 2>&1 | tee ${outfile}"
99100
$SCRIPTPATH/krun.sh -i openjdk:11-oracle -t 300 -d ${RESULT_DIR} -m "${PV_ROOT}:/sharedparent" -c 'jar cf /sharedparent/pvarchive.jar /sharedparent/acceptance_test_pv' 2>&1 | tee ${outfile}
100101
if [ "$?" = "0" ]; then
102+
echo "Running $SCRIPTPATH/krun.sh -i openjdk:11-oracle -t 300 -d ${RESULT_DIR} -m ${PV_ROOT}:/sharedparent -c 'base64 /sharedparent/pvarchive.jar' > $RESULT_DIR/pvarchive.b64 2>&1"
101103
$SCRIPTPATH/krun.sh -i openjdk:11-oracle -t 300 -d ${RESULT_DIR} -m "${PV_ROOT}:/sharedparent" -c 'base64 /sharedparent/pvarchive.jar' > $RESULT_DIR/pvarchive.b64 2>&1
102104
if [ "$?" = "0" ]; then
105+
echo "Running base64 -di $RESULT_DIR/pvarchive.b64 > $ARCHIVE"
103106
base64 -di $RESULT_DIR/pvarchive.b64 > $ARCHIVE
104107
if [ "$?" = "0" ]; then
105108
echo Run complete. Archived to $ARCHIVE

0 commit comments

Comments
 (0)