diff options
author | Louis Williams <louis.williams@mongodb.com> | 2021-06-29 11:47:22 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-07-01 14:15:14 +0000 |
commit | f38aab8cc14e73adcce77821b31437a04661f57d (patch) | |
tree | bcd30d85666d5c268042f13217ba871005b17965 /jstests/disk | |
parent | 3f0bedf42873fdf53a0ee3c38d98847d8359c602 (diff) | |
download | mongo-f38aab8cc14e73adcce77821b31437a04661f57d.tar.gz |
SERVER-52997 Do not abort WiredTiger when corruption is encountered in
debug builds
Diffstat (limited to 'jstests/disk')
-rw-r--r-- | jstests/disk/wt_repair_corrupt_metadata.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/jstests/disk/wt_repair_corrupt_metadata.js b/jstests/disk/wt_repair_corrupt_metadata.js index 999765684fd..ed42fa595d5 100644 --- a/jstests/disk/wt_repair_corrupt_metadata.js +++ b/jstests/disk/wt_repair_corrupt_metadata.js @@ -31,15 +31,6 @@ let runTest = function(mongodOptions) { const turtleFileWithoutCollection = dbpath + "WiredTiger.turtle.1"; let mongod = startMongodOnExistingPath(dbpath, mongodOptions); - // Unfortunately using --nojournal triggers a WT_PANIC and aborts in debug builds, which the - // following test case can exercise. - // TODO: This return can be removed once WT-4310 is completed. - let isDebug = mongod.getDB(baseName).adminCommand('buildInfo').debug; - if (isDebug) { - jsTestLog("Skipping test case because this is a debug build"); - MongoRunner.stopMongod(mongod); - return; - } // Force a checkpoint and make a copy of the turtle file. assert.commandWorked(mongod.getDB(baseName).adminCommand({fsync: 1})); |