Do not retry if there are too many failing spec files

pull/16174/head
Rafa de la Torre 4 years ago
parent 0dea390bc4
commit 4d3aa6d3da

@ -30,6 +30,12 @@ TRASH_MESSAGES="Varnish purge error: \[Errno 111\] Connection refused\|_CDB_Link
# echo "*****************************************************************************************************"
#fi
if [ "$failedSpecs" -gt "10" ];
then
echo "ERROR: Too many failures for a second try. Giving up."
exit 1;
fi
echo "Giving a second try to the next specs"
cat parallel_tests/specfailed.log

Loading…
Cancel
Save