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:
parent
b5951f9663
commit
c84edbc9c6
1 changed files with 1 additions and 1 deletions
|
@ -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++) {
|
||||||
|
|
Loading…
Reference in a new issue