diff options
author | Keith Bostic <keith@wiredtiger.com> | 2014-12-01 11:59:20 -0500 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2014-12-01 11:59:20 -0500 |
commit | 8da2a4c59dae602b4445bbba4a221b31fa0098f9 (patch) | |
tree | 927767b75d01dba33d50b5304ab38072488a88ec /test/checkpoint | |
parent | 5596306d16721f8bc9e96e1e6cf3f4350d6cddae (diff) | |
download | mongo-8da2a4c59dae602b4445bbba4a221b31fa0098f9.tar.gz |
Don't drop core on LSM-only runs, we can't open a cursor to verify with.
Diffstat (limited to 'test/checkpoint')
-rw-r--r-- | test/checkpoint/checkpointer.c | 6 | ||||
-rwxr-xr-x | test/checkpoint/smoke.sh | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/test/checkpoint/checkpointer.c b/test/checkpoint/checkpointer.c index 31ff1afbc46..3eefccde915 100644 --- a/test/checkpoint/checkpointer.c +++ b/test/checkpoint/checkpointer.c @@ -168,6 +168,12 @@ verify_checkpoint(WT_SESSION *session) } } + /* There's no way to verify LSM-only runs. */ + if (cursors[0] == NULL) { + printf("LSM-only, skipping checkpoint verification\n"); + goto err; + } + while (ret == 0) { ret = cursors[0]->next(cursors[0]); if (ret == 0) diff --git a/test/checkpoint/smoke.sh b/test/checkpoint/smoke.sh index 54595d40b6e..cd5b2f50e2f 100755 --- a/test/checkpoint/smoke.sh +++ b/test/checkpoint/smoke.sh @@ -8,8 +8,8 @@ echo "checkpoint: 3 mixed tables" echo "checkpoint: 6 column-store tables" ./t -T 6 -t c || exit 1 -#echo "checkpoint: 6 LSM tables" -#./t -T 6 -t l || exit 1 +echo "checkpoint: 6 LSM tables" +./t -T 6 -t l || exit 1 echo "checkpoint: 6 mixed tables" ./t -T 6 -t m || exit 1 |