stress2: Extent timeout limit to avoid false positive errors

This commit is contained in:
Peter Holm 2023-09-27 13:01:00 +02:00
parent 0f35fd3347
commit 2b716e00cf

View file

@ -78,8 +78,8 @@ for opt in -O1 -O2 -U -j; do
done
blocksize=$((blocksize * 2))
done
if [ $((`date '+%s'` - start)) -gt 1200 ]; then
echo "Timed out"
if [ $((`date '+%s'` - start)) -gt 1800 ]; then
echo "Timed out in $opt"
s=4
break
fi