Skip to content

Commit cbf08cb

Browse files
committed
commentout delete lease in statedump as its required for cleanup
1 parent df389e0 commit cbf08cb

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,16 +128,16 @@ function state_dump {
128128

129129

130130

131-
if [ ! "$LEASE_ID" = "" ]; then
131+
# if [ ! "$LEASE_ID" = "" ]; then
132132
# release the lease if we own it
133-
${SCRIPTPATH}/lease.sh -d "$LEASE_ID" 2>&1 | tee ${RESULT_DIR}/release_lease.out
134-
if [ "$?" = "0" ]; then
135-
echo Lease released.
136-
else
137-
echo Lease could not be released:
138-
cat /${RESULT_DIR}/release_lease.out
139-
fi
140-
fi
133+
# ${SCRIPTPATH}/lease.sh -d "$LEASE_ID" 2>&1 | tee ${RESULT_DIR}/release_lease.out
134+
# if [ "$?" = "0" ]; then
135+
# echo Lease released.
136+
# else
137+
# echo Lease could not be released:
138+
# cat /${RESULT_DIR}/release_lease.out
139+
# fi
140+
# fi
141141

142142
# remove docker-images project before archiving
143143
rm -rf ${RESULT_DIR}/docker-images

0 commit comments

Comments
 (0)