summaryrefslogtreecommitdiff
path: root/jstests/disk
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2020-08-11 11:58:00 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-11 16:15:07 +0000
commitc602f35664ce98582f03cedfa142ce901f223224 (patch)
tree2ead1c7b1c65a027d18daa248bb2d8c2160c294a /jstests/disk
parent76ef32a94450f58e17e5eb0a26e974227aa5512e (diff)
downloadmongo-c602f35664ce98582f03cedfa142ce901f223224.tar.gz
SERVER-49687 disable repair_corrupt_document.js under windows
Diffstat (limited to 'jstests/disk')
-rw-r--r--jstests/disk/repair_corrupt_document.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/jstests/disk/repair_corrupt_document.js b/jstests/disk/repair_corrupt_document.js
index 079f2e34f06..256270931af 100644
--- a/jstests/disk/repair_corrupt_document.js
+++ b/jstests/disk/repair_corrupt_document.js
@@ -6,6 +6,12 @@
load('jstests/disk/libs/wt_file_helper.js');
+if (_isWindows()) {
+ // TODO(SERVER-50205): Re-enable under Windows.
+ jsTestLog('Skipping test under Windows.');
+ return;
+}
+
const baseName = "repair_corrupt_document";
const collName = "test";
const dbpath = MongoRunner.dataPath + baseName + "/";
@@ -84,4 +90,4 @@ let corruptDocumentOnInsert = function(db, coll) {
MongoRunner.stopMongod(mongod);
jsTestLog("Exiting runValidateWithRepairMode.");
})();
-})(); \ No newline at end of file
+})();