summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/csuite/wt4156_metadata_salvage/main.c
diff options
context:
space:
mode:
authorClarisse Cheah <clarisse.cheah@mongodb.com>2022-10-16 23:44:13 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-10-17 00:18:57 +0000
commit31547026b14608a2a3608be29f8d344ccb844933 (patch)
treecc205de4776839825fe605a9e06d9b36d36fa55f /src/third_party/wiredtiger/test/csuite/wt4156_metadata_salvage/main.c
parent8643f97119f04652af23625262a028a4dac82525 (diff)
downloadmongo-31547026b14608a2a3608be29f8d344ccb844933.tar.gz
Import wiredtiger: 2426972d3aac50b2c94ef25a90af3d2d1021360a from branch mongodb-master
ref: eb9ed56c4f..2426972d3a for: 6.2.0-rc0 Revert "WT-9975 Log stats for c and format tests (#8359)" (#8373)
Diffstat (limited to 'src/third_party/wiredtiger/test/csuite/wt4156_metadata_salvage/main.c')
-rw-r--r--src/third_party/wiredtiger/test/csuite/wt4156_metadata_salvage/main.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/third_party/wiredtiger/test/csuite/wt4156_metadata_salvage/main.c b/src/third_party/wiredtiger/test/csuite/wt4156_metadata_salvage/main.c
index 5531c23bb55..e8879bbcad6 100644
--- a/src/third_party/wiredtiger/test/csuite/wt4156_metadata_salvage/main.c
+++ b/src/third_party/wiredtiger/test/csuite/wt4156_metadata_salvage/main.c
@@ -362,9 +362,8 @@ open_with_corruption(const char *sfx)
testutil_check(__wt_snprintf(buf, sizeof(buf), "%s", home));
/* Don't abort in the diagnostic builds on detecting corruption. */
- ret = wiredtiger_open(buf, &event_handler,
- "debug_mode=(corruption_abort=false),statistics=(all),statistics_log=(json,on_close,wait=1)",
- &conn);
+ ret = wiredtiger_open(
+ buf, &event_handler, "debug_mode=(corruption_abort=false),statistics=(all)", &conn);
/*
* Not all out of sync combinations lead to corruption. We keep the previous checkpoint in the
@@ -398,8 +397,7 @@ open_with_salvage(const char *sfx, TABLE_INFO *table_data)
testutil_check(__wt_snprintf(buf, sizeof(buf), "%s.%s", home, sfx));
else
testutil_check(__wt_snprintf(buf, sizeof(buf), "%s", home));
- testutil_check(wiredtiger_open(buf, &event_handler,
- "salvage=true,statistics=(all),statistics_log=(json,on_close,wait=1)", &conn));
+ testutil_check(wiredtiger_open(buf, &event_handler, "salvage=true,statistics=(all)", &conn));
testutil_assert(conn != NULL);
if (sfx != NULL)
testutil_check(__wt_snprintf(buf, sizeof(buf), "%s.%s/%s", home, sfx, WT_METAFILE_SLVG));
@@ -430,8 +428,7 @@ open_normal(const char *sfx, TABLE_INFO *table_data)
testutil_check(__wt_snprintf(buf, sizeof(buf), "%s.%s", home, sfx));
else
testutil_check(__wt_snprintf(buf, sizeof(buf), "%s", home));
- testutil_check(wiredtiger_open(
- buf, &event_handler, "statistics=(all),statistics_log=(json,on_close,wait=1)", &conn));
+ testutil_check(wiredtiger_open(buf, &event_handler, "statistics=(all)", &conn));
verify_metadata(conn, &table_data[0]);
testutil_check(conn->close(conn, NULL));
}
@@ -488,8 +485,7 @@ main(int argc, char *argv[])
home = opts->home;
testutil_make_work_dir(home);
- testutil_check(wiredtiger_open(home, &event_handler,
- "create,statistics=(all),statistics_log=(json,on_close,wait=1)", &opts->conn));
+ testutil_check(wiredtiger_open(home, &event_handler, "create,statistics=(all)", &opts->conn));
testutil_check(opts->conn->open_session(opts->conn, NULL, NULL, &wt_session));
/*