ext4/004: limit the amount of data written so test runs faster
authorTheodore Ts'o <tytso@mit.edu>
Wed, 24 Dec 2014 03:53:10 +0000 (14:53 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 24 Dec 2014 03:53:10 +0000 (14:53 +1100)
Previously this test was taking 6-7 minutes, and writing half a
gigabyte of data in the dump/restore test directory.  Change this to
be about 60 megs, and to take ~20 seconds.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/ext4/004

index b24b627f0984bba64dc5e8a895053f53f7cfcd22..68f02b6e4b31291ea9e93087c86e8f2a2226f808 100755 (executable)
@@ -49,7 +49,7 @@ restore_dir=$TEST_DIR/dump_restore_dir
 workout()
 {
        echo "Run fsstress" >> $seqres.full
 workout()
 {
        echo "Run fsstress" >> $seqres.full
-       args=`_scale_fsstress_args -z -f creat=5 -f write=20 -f mkdir=5 -n 1000 -p 15 -d $dump_dir`
+       args=`_scale_fsstress_args -z -f creat=5 -f write=20 -f mkdir=5 -n 100 -p 15 -d $dump_dir`
        echo "fsstress $args" >> $seqres.full
 
        $FSSTRESS_PROG $args >> $seqres.full 2>&1
        echo "fsstress $args" >> $seqres.full
 
        $FSSTRESS_PROG $args >> $seqres.full 2>&1