diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-11-28 17:09:04 -0800 |
---|---|---|
committer | Eryu Guan <eguan@redhat.com> | 2017-12-01 16:50:53 +0800 |
commit | f210cedc001535bbc466922adfb3fe27c6cabe38 (patch) | |
tree | 64a69e5b4280650ce8a46369f45316919f3ad253 | |
parent | d0bbfca132b38d3da945dd070e830d66c23a9ff6 (diff) | |
download | xfstests-f210cedc001535bbc466922adfb3fe27c6cabe38.tar.gz |
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 <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
-rwxr-xr-x | tests/generic/388 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/generic/388 b/tests/generic/388 index 27602085c0..4f5a63b98f 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 |