From: Ben Gras Date: Mon, 16 Sep 2013 15:33:44 +0000 (+0000) Subject: test70: reduce ITERATIONS X-Git-Tag: v3.3.0~801 X-Git-Url: http://zhaoyanbai.com/repos/addsub.png?a=commitdiff_plain;h=c84edbc9c628522de42b8a9f7907889e744e1a67;p=minix.git test70: reduce ITERATIONS . full number was needed to reliably trigger the race condition . takes a bit too long (7 mins on fast x86 hardware) for a condition that "can't" happen again, so let's cut the iteration count and trust that the test will trigger soon enough for a similar condition in the future. Change-Id: I2d38b87c25327adbbff91b7db6191648aa1dd8fd --- diff --git a/test/test70.c b/test/test70.c index c4c584d4c..3d909dacf 100644 --- a/test/test70.c +++ b/test/test70.c @@ -43,7 +43,7 @@ doseeks(int seekbase) * sure we get the right return value back, while this happens * in a concurrent process too. */ -#define ITERATIONS 50000 +#define ITERATIONS 5000 for(iteration = 0; iteration < ITERATIONS; iteration++) { int o; for(o = seekbase; o < limit; o++) {