Skip to contentSkip to conversation

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

PATCH New Theodore Ts'o 1 participant 1 message Dec 16, 2014

lore
Share & tools
lore
#0 lore raw

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

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.

---
 tests/ext4/004 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/ext4/004 +1 -1
index b24b627..68f02b6 100755
@@ -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
Signature · 1 line
2.1.0