Skip to content

Commit 5b452bf

Browse files
committed
fxing temp location for krun.sh
1 parent fbebb33 commit 5b452bf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,9 @@ function state_dump {
6969
# use a run to archive PV, /sharedparent mounts to PV_ROOT in the K8S cluster
7070
echo "Archiving pv directory using a kubernetes run. Look for it on k8s cluster in $PV_ROOT/acceptance_test_pv_archive"
7171
local outfile=${DUMP_DIR}/archive_pv_run.out
72-
$SCRIPTPATH/krun.sh -t 300 -d ${RESULT_ROOT} -m "${PV_ROOT}:/sharedparent" -c 'jar cf /sharedparent/pvarchive.jar /sharedparent/acceptance_test_pv' 2>&1 | tee ${outfile}
72+
$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}
7373
if [ "$?" = "0" ]; then
74-
id
75-
$SCRIPTPATH/krun.sh -t 300 -d ${RESULT_ROOT} -m "${PV_ROOT}:/sharedparent" -c 'base64 /sharedparent/pvarchive.jar' > $RESULT_ROOT/pvarchive.b64 2>&1
74+
$SCRIPTPATH/krun.sh -t 300 -d ${RESULT_DIR} -m "${PV_ROOT}:/sharedparent" -c 'base64 /sharedparent/pvarchive.jar' > $RESULT_ROOT/pvarchive.b64 2>&1
7675
if [ "$?" = "0" ]; then
7776
base64 -di $RESULT_ROOT/pvarchive.b64 > $ARCHIVE
7877
if [ "$?" = "0" ]; then

0 commit comments

Comments
 (0)