[PATCH] tests: adapt to mongod's new default of using --journal

Jim Meyering jim at meyering.net
Thu Feb 23 17:53:03 UTC 2012


Since the update to mongod that enables --journal by default,
most of iwhd's regression tests were failing due to a 5-second
timeout.  Increasing that to 15s would have just barely done
the job on a high-end system, on the condition that you don't
run the tests in parallel (which I always do).  Rather than
letting test duration triple or quadruple, I've chosen to run
all test-invoked mongod instances with --nojournal.

I've also added that for the mongod instance that is started
via iwhd's --auto option.  Without that, "make -j$N check" would
consistently fail the t/auto test.  As I write this, I realize
that this new difference in semantics of --auto would have to
be documented.  Pete, what do you think?  Maybe better not to
change auto.c just yet, Eh?  At least not in this change set.

One alternative is to skip the t/auto test if it looks like it's
part of a parallel make check run.




More information about the iwhd-devel mailing list