From 96b8cd2804340006487c5b913b78acf688b69201 Mon Sep 17 00:00:00 2001
From: Alberto Bertogli <albertito@blitiri.com.ar>
Date: Tue, 22 Feb 2011 23:57:07 +0000
Subject: [PATCH 07/24] Make tests-fi run longer

To take advantage of the fault injection, we need to do more operations in the
stress test, otherwise we end up with only about 5 simulated failures.

This patch increases the number of operations from 50 to 400, which ends up
making about 40 simulated failures and taking about 2 minutes (overall, not
just the stress test) on my laptop (Thinkpad T400 with a P8400 CPU).

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
---
 tests/util/quick-test-run.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/util/quick-test-run.sh b/tests/util/quick-test-run.sh
index 474a477..0427db2 100755
--- a/tests/util/quick-test-run.sh
+++ b/tests/util/quick-test-run.sh
@@ -43,7 +43,7 @@ case "$1" in
 		echo
 		echo "stress tests (fiu)"
 		./wrap-python 3 ../stress/jiostress \
-			$(tempfile -p libjio-tests) 20 -n 50 --fi
+			$(tempfile -p libjio-tests) 20 -n 400 --fi
 		;;
 esac
 
-- 
1.6.2.2.646.gb214

