diff mbox

ext4/004: limit the amount of data written so test runs faster

Message ID 1418745387-27930-1-git-send-email-tytso@mit.edu (mailing list archive)
State New, archived
Headers show

Commit Message

Theodore Ts'o Dec. 16, 2014, 3:56 p.m. UTC
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>
---
 tests/ext4/004 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/tests/ext4/004 b/tests/ext4/004
index b24b627..68f02b6 100755
--- a/tests/ext4/004
+++ b/tests/ext4/004
@@ -49,7 +49,7 @@  restore_dir=$TEST_DIR/dump_restore_dir
 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