summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2014-05-05 11:23:57 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2014-05-05 11:23:57 +1000
commited48ea3226161deaf53da34dd345359930d9720f (patch)
tree6c50c49c3cc52d2947581de39d86d37f6c98a92f /test
parent3a6445c3a8d2e7440d22d0d6aea493468f67a3ed (diff)
downloadmongo-ed48ea3226161deaf53da34dd345359930d9720f.tar.gz
Stop running checkpoint tests after a failure.
Diffstat (limited to 'test')
-rw-r--r--test/checkpoint/test_checkpoint.c5
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 */