summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2019-12-17 14:40:28 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-13 15:21:41 +0000
commitf31bc89f66632b2d521be2d076dc23f94ff663eb (patch)
tree6d2dc9562fcfcefacdb1278e78e2a88e49010911 /jstests/noPassthroughWithMongod
parent65c27c5f9899e2cf72b392a3f1174767afec8823 (diff)
downloadmongo-f31bc89f66632b2d521be2d076dc23f94ff663eb.tar.gz
SERVER-45048 Use hygienic builds in Evergreen
Diffstat (limited to 'jstests/noPassthroughWithMongod')
-rw-r--r--jstests/noPassthroughWithMongod/testing_only_commands.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthroughWithMongod/testing_only_commands.js b/jstests/noPassthroughWithMongod/testing_only_commands.js
index ad142cc1ecc..329be92da7e 100644
--- a/jstests/noPassthroughWithMongod/testing_only_commands.js
+++ b/jstests/noPassthroughWithMongod/testing_only_commands.js
@@ -30,7 +30,7 @@ var assertCmdFound = function(db, cmdName) {
}
};
-jsTest.setOption('enableTestCommands', false);
+TestData.enableTestCommands = false;
var conn = MongoRunner.runMongod({});
for (i in testOnlyCommands) {
@@ -39,7 +39,7 @@ for (i in testOnlyCommands) {
MongoRunner.stopMongod(conn);
// Now enable the commands
-jsTest.setOption('enableTestCommands', true);
+TestData.enableTestCommands = true;
var conn = MongoRunner.runMongod({});
for (i in testOnlyCommands) {