summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/format/salvage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/format/salvage.c')
-rw-r--r--src/third_party/wiredtiger/test/format/salvage.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/test/format/salvage.c b/src/third_party/wiredtiger/test/format/salvage.c
index 8f8d3c12786..0e922a71627 100644
--- a/src/third_party/wiredtiger/test/format/salvage.c
+++ b/src/third_party/wiredtiger/test/format/salvage.c
@@ -139,16 +139,14 @@ wts_salvage(void)
/* Salvage, then verify. */
wts_open(g.home, &conn, &session, true);
testutil_check(session->salvage(session, g.uri, "force=true"));
-
-#if 0
- wts_verify("post-salvage verify");
-#endif
+ wts_verify(conn, "post-salvage verify");
wts_close(&conn, &session);
/* Corrupt the file randomly, salvage, then verify. */
if (corrupt()) {
wts_open(g.home, &conn, &session, false);
testutil_check(session->salvage(session, g.uri, "force=true"));
+ wts_verify(conn, "post-corrupt-salvage verify");
wts_close(&conn, &session);
}
}