From: Darrick J. Wong Date: Wed, 29 Nov 2017 01:09:04 +0000 (-0800) Subject: generic/388: use TIME_FACTOR to scale test duration X-Git-Tag: v2022.05.01~1753 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f210cedc001535bbc466922adfb3fe27c6cabe38;p=users%2Fhch%2Fxfstests-dev.git generic/388: use TIME_FACTOR to scale test duration Use TIME_FACTOR to increase the amount of time we spend testing log shutdown recovery. Signed-off-by: Darrick J. Wong Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/tests/generic/388 b/tests/generic/388 index 27602085c..4f5a63b98 100755 --- a/tests/generic/388 +++ b/tests/generic/388 @@ -65,7 +65,7 @@ _scratch_mkfs >> $seqres.full 2>&1 _require_metadata_journaling $SCRATCH_DEV _scratch_mount || _fail "mount failed" -for i in $(seq 1 50); do +for i in $(seq 1 $((50 * TIME_FACTOR)) ); do ($FSSTRESS_PROG $FSSTRESS_AVOID -d $SCRATCH_MNT -n 999999 -p 4 >> $seqres.full &) \ > /dev/null 2>&1