summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/inmem_config_str.js
diff options
context:
space:
mode:
authorclang-format-7.0.1 <adam.martin@10gen.com>2019-07-26 18:42:24 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2019-07-26 18:42:24 -0400
commitc1a45ebbb0530e3d0201321d725527f1eb83ffce (patch)
treef523079dc5ded3052eefbdcaae424b7502df5b25 /jstests/noPassthrough/inmem_config_str.js
parentc9599d8610c3da0b7c3da65667aff821063cf5b9 (diff)
downloadmongo-c1a45ebbb0530e3d0201321d725527f1eb83ffce.tar.gz
Apply formatting per `clang-format-7.0.1`
Diffstat (limited to 'jstests/noPassthrough/inmem_config_str.js')
-rw-r--r--jstests/noPassthrough/inmem_config_str.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/jstests/noPassthrough/inmem_config_str.js b/jstests/noPassthrough/inmem_config_str.js
index 8e330f57b75..ecc34ab0634 100644
--- a/jstests/noPassthrough/inmem_config_str.js
+++ b/jstests/noPassthrough/inmem_config_str.js
@@ -1,17 +1,17 @@
// SERVER-28179 Test the startup of in-memory storage engine using --inMemoryEngineConfigString
(function() {
- 'use strict';
+'use strict';
- if (jsTest.options().storageEngine !== "inMemory") {
- jsTestLog("Skipping test because storageEngine is not inMemory");
- return;
- }
+if (jsTest.options().storageEngine !== "inMemory") {
+ jsTestLog("Skipping test because storageEngine is not inMemory");
+ return;
+}
- var mongod = MongoRunner.runMongod({
- storageEngine: 'inMemory',
- inMemoryEngineConfigString: 'eviction=(threads_min=1)',
- });
- assert.neq(null, mongod, "mongod failed to started up with --inMemoryEngineConfigString");
+var mongod = MongoRunner.runMongod({
+ storageEngine: 'inMemory',
+ inMemoryEngineConfigString: 'eviction=(threads_min=1)',
+});
+assert.neq(null, mongod, "mongod failed to started up with --inMemoryEngineConfigString");
- MongoRunner.stopMongod(mongod);
+MongoRunner.stopMongod(mongod);
}());