summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/profile_options.js
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:12 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:12 -0400
commit6dcdd23dd37ef12c87e71cf59ef01cd82432efe0 (patch)
treec8cfb5acb62c80f375bc37e7d4350382deea6a37 /jstests/noPassthrough/profile_options.js
parentd4ac5673ea3f6cef4ce9dbcec90e31813997a528 (diff)
downloadmongo-6dcdd23dd37ef12c87e71cf59ef01cd82432efe0.tar.gz
SERVER-23971 Clang-Format code
Diffstat (limited to 'jstests/noPassthrough/profile_options.js')
-rw-r--r--jstests/noPassthrough/profile_options.js12
1 files changed, 3 insertions, 9 deletions
diff --git a/jstests/noPassthrough/profile_options.js b/jstests/noPassthrough/profile_options.js
index 0e45391a7ef..e3f9c8bcc03 100644
--- a/jstests/noPassthrough/profile_options.js
+++ b/jstests/noPassthrough/profile_options.js
@@ -3,21 +3,15 @@ var baseName = "jstests_core_profile_options";
load('jstests/libs/command_line/test_parsed_options.js');
jsTest.log("Testing \"profile\" command line option with profiling off");
-var expectedResult = {
- "parsed": {"operationProfiling": {"mode": "off"}}
-};
+var expectedResult = {"parsed": {"operationProfiling": {"mode": "off"}}};
testGetCmdLineOptsMongod({profile: "0"}, expectedResult);
jsTest.log("Testing \"profile\" command line option with profiling slow operations on");
-var expectedResult = {
- "parsed": {"operationProfiling": {"mode": "slowOp"}}
-};
+var expectedResult = {"parsed": {"operationProfiling": {"mode": "slowOp"}}};
testGetCmdLineOptsMongod({profile: "1"}, expectedResult);
jsTest.log("Testing \"profile\" command line option with profiling all on");
-var expectedResult = {
- "parsed": {"operationProfiling": {"mode": "all"}}
-};
+var expectedResult = {"parsed": {"operationProfiling": {"mode": "all"}}};
testGetCmdLineOptsMongod({profile: "2"}, expectedResult);
jsTest.log("Testing \"operationProfiling.mode\" config file option");