Commit f2c50fb2 authored by Cedric Caffy's avatar Cedric Caffy
Browse files

[tape lifecycle] Corrected the repack system test disabled tape

parent abd9d9c9
......@@ -104,8 +104,8 @@ repackDisableTape() {
if [ "$VID_TO_REPACK" != "null" ]
echo "Marking the tape ${VID_TO_REPACK} as disabled"
kubectl -n ${NAMESPACE} exec ctacli -- cta-admin tape ch --disabled true --vid ${VID_TO_REPACK}
echo "Marking the tape ${VID_TO_REPACK} as DISABLED"
kubectl -n ${NAMESPACE} exec ctacli -- cta-admin tape ch --state DISABLED --reason "Repack disabled tape test" --vid ${VID_TO_REPACK}
echo "Waiting 20 seconds so that the RetrieveQueueStatisticsCache is flushed"
sleep 20
echo "Launching the repack request test on VID ${VID_TO_REPACK}"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment