summaryrefslogtreecommitdiff
path: root/test/checkpoint
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-12-01 11:59:20 -0500
committerKeith Bostic <keith@wiredtiger.com>2014-12-01 11:59:20 -0500
commit8da2a4c59dae602b4445bbba4a221b31fa0098f9 (patch)
tree927767b75d01dba33d50b5304ab38072488a88ec /test/checkpoint
parent5596306d16721f8bc9e96e1e6cf3f4350d6cddae (diff)
downloadmongo-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.c6
-rwxr-xr-xtest/checkpoint/smoke.sh4
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