diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2016-07-28 19:01:37 -0400 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2016-07-28 19:01:37 -0400 |
commit | 3e755ba53b413f430d1105937de90030455c6135 (patch) | |
tree | 9f7a452e787c50d0f2ce0823c4be6371b9cc37f9 | |
parent | 5155abe4539c37adfd856941eeca5bc55f3aee73 (diff) | |
download | mongo-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.js | 4 |
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; |