From c84edbc9c628522de42b8a9f7907889e744e1a67 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 16 Sep 2013 15:33:44 +0000 Subject: [PATCH] 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 --- test/test70.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- 2.44.0