summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaley Chen <waleycz@gmail.com>2016-09-15 11:14:53 -0400
committerWaley Chen <waleycz@gmail.com>2016-09-15 11:14:53 -0400
commita657b38c56b34ad573d45ecb4f80772297b9e5d9 (patch)
treef213d6b98bb51b64dc877038f84d960730b949e2
parent6815c80e30dc0cf534adc094f1db300f4db6ee43 (diff)
downloadmongo-a657b38c56b34ad573d45ecb4f80772297b9e5d9.tar.gz
SERVER-22688 Provide a setParameter and shell option to control the js heap limit
lint fix
-rw-r--r--jstests/core/jsHeapLimit.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/jstests/core/jsHeapLimit.js b/jstests/core/jsHeapLimit.js
index 4256c04c3ae..51d9cdc7b7e 100644
--- a/jstests/core/jsHeapLimit.js
+++ b/jstests/core/jsHeapLimit.js
@@ -8,8 +8,12 @@
var assertLimit = function() {
assert.eq(999, getJSHeapLimitMB());
};
- var exitCode = runMongoProgram(
- "mongo", conn.host, "--jsHeapLimitMB", 999, "--eval", "(" + assertLimit.toString() + ")();");
+ var exitCode = runMongoProgram("mongo",
+ conn.host,
+ "--jsHeapLimitMB",
+ 999,
+ "--eval",
+ "(" + assertLimit.toString() + ")();");
assert.eq(0, exitCode);
// verify the JSHeapLimitMB set from Mongod