echo"Waiting 20 seconds so that the RetrieveQueueStatisticsCache is flushed"
sleep 20
echo"Launching the repack request test on VID ${VID_TO_REPACK}"
kubectl -n${NAMESPACE}exec client -- bash /root/repack_systemtest.sh -v${VID_TO_REPACK}-b${REPACK_BUFFER_URL}-r${BASE_REPORT_DIRECTORY}/Step$1-RepackDisabledTape&&echo"The repack request is Complete instead of Failed, it should be failed as the tape is disabled"&&exit 1 ||echo"REPACK FAILED, the tape is disabled so, Test OK"
kubectl -n${NAMESPACE}exec client -- bash /root/repack_systemtest.sh -v${VID_TO_REPACK}-b${REPACK_BUFFER_URL}-r${BASE_REPORT_DIRECTORY}/Step$1-RepackDisabledTape-n ctasystest &&echo"The repack request is Complete instead of Failed, it should be failed as the tape is disabled"&&exit 1 ||echo"REPACK FAILED, the tape is disabled so, Test OK"
else
echo"No vid found to repack"
exit 1
...
...
@@ -118,7 +118,7 @@ repackDisableTape() {
echo
echo"Launching the repack request test on VID ${VID_TO_REPACK} with the --disabledtape flag"