Skip to content

Commit dc06a52

Browse files
committed
use openjdk while running krun.sh
1 parent dcbb0f9 commit dc06a52

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ function state_dump {
104104
fi
105105
else
106106

107-
$SCRIPTPATH/krun.sh -t 300 -d ${RESULT_DIR} -m "${PV_ROOT}:/sharedparent" -c 'jar cf /sharedparent/pvarchive.jar /sharedparent/acceptance_test_pv' 2>&1 | tee ${outfile}
107+
$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}
108108
if [ "$?" = "0" ]; then
109-
$SCRIPTPATH/krun.sh -t 300 -d ${RESULT_DIR} -m "${PV_ROOT}:/sharedparent" -c 'base64 /sharedparent/pvarchive.jar' > $RESULT_DIR/pvarchive.b64 2>&1
109+
$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
110110
if [ "$?" = "0" ]; then
111111
base64 -di $RESULT_DIR/pvarchive.b64 > $ARCHIVE
112112
if [ "$?" = "0" ]; then

src/integration-tests/bash/cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ if [ "${DELETE_FILES:-true}" = "true" ]; then
354354
if [ "$WERCKER" = "true" ]; then
355355
$SCRIPTPATH/job.sh "rm -fr /scratch/acceptance_test_pv"
356356
else
357-
$SCRIPTPATH/krun.sh -m "${PV_ROOT}:/sharedparent" -c 'rm -fr /sharedparent/acceptance_test_pv'
357+
$SCRIPTPATH/krun.sh -i openjdk:11-oracle -m "${PV_ROOT}:/sharedparent" -c 'rm -fr /sharedparent/acceptance_test_pv'
358358
fi
359359
[ "$?" = "0" ] || SUCCESS="1"
360360
echo @@ SUCCESS=$SUCCESS

0 commit comments

Comments
 (0)