diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-05-05 11:23:57 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-05-05 11:23:57 +1000 |
commit | ed48ea3226161deaf53da34dd345359930d9720f (patch) | |
tree | 6c50c49c3cc52d2947581de39d86d37f6c98a92f /test | |
parent | 3a6445c3a8d2e7440d22d0d6aea493468f67a3ed (diff) | |
download | mongo-ed48ea3226161deaf53da34dd345359930d9720f.tar.gz |
Stop running checkpoint tests after a failure.
Diffstat (limited to 'test')
-rw-r--r-- | test/checkpoint/test_checkpoint.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/checkpoint/test_checkpoint.c b/test/checkpoint/test_checkpoint.c index 1e2ccca8a76..80b6e8bfe2e 100644 --- a/test/checkpoint/test_checkpoint.c +++ b/test/checkpoint/test_checkpoint.c @@ -127,9 +127,8 @@ main(int argc, char *argv[]) path_setup(home); printf("%s: process %" PRIu64 "\n", g.progname, (uint64_t)getpid()); - for (cnt = 1; runs == 0 || cnt <= runs; ++cnt) { - printf( - " %d: %u workers, %u tables\n", + for (cnt = 1; (runs == 0 || cnt <= runs) && g.status == 0; ++cnt) { + printf(" %d: %u workers, %u tables\n", cnt, g.nworkers, g.ntables); (void)cleanup(); /* Clean up previous runs */ |