lock error message only when verbose mode for jenkins tests
@@ -64,7 +64,9 @@ function wait_no_flash() {
break;
fi
sleep 5
+ if [ $VERBOSE -eq 1 ] ; then
echo "capi-flash-script is locked in /var/cxl. Waiting for unlock (250s)"
+ fi
done
if [ $i -ge 50 ]; then
echo "ERROR: Timeout. Flash is pending ......."
