summaryrefslogtreecommitdiff
path: root/src/mongo/shell/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/utils.js')
-rw-r--r--src/mongo/shell/utils.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/shell/utils.js b/src/mongo/shell/utils.js
index 4b905500e2e..125b9aeac26 100644
--- a/src/mongo/shell/utils.js
+++ b/src/mongo/shell/utils.js
@@ -268,6 +268,11 @@ jsTestOptions = function() {
// TestData
enableTestCommands:
TestData.hasOwnProperty('enableTestCommands') ? TestData.enableTestCommands : true,
+ // Testing diagnostics should be enabled by default if no testingDiagnosticsEnabled was
+ // present in TestData
+ testingDiagnosticsEnabled: TestData.hasOwnProperty('testingDiagnosticsEnabled')
+ ? TestData.testingDiagnosticsEnabled
+ : true,
serviceExecutor: TestData.serviceExecutor,
setParameters: TestData.setParameters,
setParametersMongos: TestData.setParametersMongos,