summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2016-07-28 19:01:37 -0400
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2016-07-28 19:01:37 -0400
commit3e755ba53b413f430d1105937de90030455c6135 (patch)
tree9f7a452e787c50d0f2ce0823c4be6371b9cc37f9
parent5155abe4539c37adfd856941eeca5bc55f3aee73 (diff)
downloadmongo-3e755ba53b413f430d1105937de90030455c6135.tar.gz
SERVER-24693 Remove extra spaces to fix --setParameter argument.
clang-format-3.6 doesn't treat ES6 template literals as strings and tries to add spaces around the `=` as though it were a variable assignment.
-rw-r--r--jstests/noPassthrough/yield_group.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/noPassthrough/yield_group.js b/jstests/noPassthrough/yield_group.js
index 91fd2d9b202..30aaf9728b7 100644
--- a/jstests/noPassthrough/yield_group.js
+++ b/jstests/noPassthrough/yield_group.js
@@ -8,8 +8,10 @@
const worksPerYield = 50;
// Start a mongod that will yield every 50 work cycles.
+ // clang-format off
var conn = MongoRunner.runMongod(
- {setParameter: `internalQueryExecYieldIterations = ${worksPerYield}`});
+ {setParameter: `internalQueryExecYieldIterations=${worksPerYield}`});
+ // clang-format on
assert.neq(null, conn, 'mongod was unable to start up');
var coll = conn.getDB('test').yield_group;