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
This commit is contained in:
Ben Gras 2013-09-16 15:33:44 +00:00
parent b5951f9663
commit c84edbc9c6

View file

@ -43,7 +43,7 @@ doseeks(int seekbase)
* sure we get the right return value back, while this happens * sure we get the right return value back, while this happens
* in a concurrent process too. * in a concurrent process too.
*/ */
#define ITERATIONS 50000 #define ITERATIONS 5000
for(iteration = 0; iteration < ITERATIONS; iteration++) { for(iteration = 0; iteration < ITERATIONS; iteration++) {
int o; int o;
for(o = seekbase; o < limit; o++) { for(o = seekbase; o < limit; o++) {