From f31bc89f66632b2d521be2d076dc23f94ff663eb Mon Sep 17 00:00:00 2001 From: Mathew Robinson Date: Tue, 17 Dec 2019 14:40:28 -0500 Subject: SERVER-45048 Use hygienic builds in Evergreen --- jstests/noPassthroughWithMongod/testing_only_commands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jstests/noPassthroughWithMongod') 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) { -- cgit v1.2.1