summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/format/t.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/format/t.c')
-rw-r--r--src/third_party/wiredtiger/test/format/t.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/test/format/t.c b/src/third_party/wiredtiger/test/format/t.c
index b7d149d7ccd..632a457d04f 100644
--- a/src/third_party/wiredtiger/test/format/t.c
+++ b/src/third_party/wiredtiger/test/format/t.c
@@ -383,9 +383,11 @@ skip_operations:
/*
* Verify the objects. Verify closes the underlying handle and discards the statistics, read
- * them first.
+ * them first. However, for verify_only we've already completed the verification above. Skip
+ * this one.
*/
- TIMED_MAJOR_OP(wts_verify(g.wts_conn, true));
+ if (!verify_only)
+ TIMED_MAJOR_OP(wts_verify(g.wts_conn, true));
track("shutting down", 0ULL);
wts_close(&g.wts_conn);