Commit 91451bb5 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Block rOCCI functional tests on VM build

parent 62e198ba
......@@ -74,9 +74,23 @@ else
echo "Details on server instance ${SUFFIX}";
echo "Meaning: kamaki server info ${SERVER_URL}";
CMD="${BASE_CMD} --action describe --resource ${SUFFIX}";
CMD="${BASE_CMD} --action describe --resource ${SUFFIX} >";
echo "$CMD";
eval $CMD;
STATE=(`awk '/occi.compute.state/{n=split($0,a," = "); print a[2];}'`)
while [ $STATE != 'active' ]
echo "Server state is ${STATE}"
echo "wait ${WAIT}\" and check again"
sleep $WAIT;
let "WAIT++";
echo "$CMD";
eval $CMD;
STATE=(`awk '/occi.compute.state/{n=split($0,a," = "); print a[2];}'`);
echo "Destroy server instance ${SUFFIX}";
echo "Meaning: kamaki server delete ${SERVER_URL}";
Markdown is supported
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