summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/reconfigwt.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthroughWithMongod/reconfigwt.js')
-rw-r--r--jstests/noPassthroughWithMongod/reconfigwt.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/jstests/noPassthroughWithMongod/reconfigwt.js b/jstests/noPassthroughWithMongod/reconfigwt.js
index e75495608be..4176022e971 100644
--- a/jstests/noPassthroughWithMongod/reconfigwt.js
+++ b/jstests/noPassthroughWithMongod/reconfigwt.js
@@ -8,14 +8,13 @@ var ss = db.serverStatus();
// Test is only valid in the WT suites which run against a mongod with WiredTiger enabled
if (ss.storageEngine.name !== "wiredTiger") {
print("Skipping reconfigwt.js since this server does not have WiredTiger enabled");
-}
-else {
+} else {
var conn = MongoRunner.runMongod();
- var admin = conn.getDB( "admin" );
+ var admin = conn.getDB("admin");
function reconfigure(str) {
- ret = admin.runCommand( { setParameter : 1, "wiredTigerEngineRuntimeConfig" : str });
+ ret = admin.runCommand({setParameter: 1, "wiredTigerEngineRuntimeConfig": str});
print("ret: " + tojson(ret));
return ret;
}