summaryrefslogtreecommitdiff
path: root/jstests/libs
diff options
context:
space:
mode:
authorMike Grundy <michael.grundy@10gen.com>2016-03-17 14:41:31 -0400
committerMike Grundy <michael.grundy@10gen.com>2016-03-18 17:10:31 -0400
commit1be713cebbb9411d2977ec9996931a4508252af0 (patch)
treea199db2a273ebb5ca4289158ee5f63066cb3926a /jstests/libs
parentd82956a6fe2e7d5dd6216e66e95900d73dbf2e0c (diff)
downloadmongo-1be713cebbb9411d2977ec9996931a4508252af0.tar.gz
SERVER-23067 Final round of JS linting and formatting
Diffstat (limited to 'jstests/libs')
-rw-r--r--jstests/libs/chunk_manipulation_util.js2
-rw-r--r--jstests/libs/election_timing_test.js2
-rw-r--r--jstests/libs/parallelTester.js10
-rw-r--r--jstests/libs/test_background_ops.js2
4 files changed, 8 insertions, 8 deletions
diff --git a/jstests/libs/chunk_manipulation_util.js b/jstests/libs/chunk_manipulation_util.js
index f03adb1714c..a334cbe8aec 100644
--- a/jstests/libs/chunk_manipulation_util.js
+++ b/jstests/libs/chunk_manipulation_util.js
@@ -57,7 +57,7 @@ function moveChunkParallel(staticMongod, mongosURL, findCriteria, bounds, ns, to
var moveChunkStepNames = {
parsedOptions: 1,
gotDistLock: 2,
- startedMoveChunk: 3, // called _recvChunkStart on recipient
+ startedMoveChunk: 3, // called _recvChunkStart on recipient
reachedSteadyState: 4, // recipient reports state is "steady"
committed: 5,
done: 6
diff --git a/jstests/libs/election_timing_test.js b/jstests/libs/election_timing_test.js
index f462d7f2dc5..f40ad5f931b 100644
--- a/jstests/libs/election_timing_test.js
+++ b/jstests/libs/election_timing_test.js
@@ -218,7 +218,7 @@ ElectionTimingTest.calculateElectionTimeoutLimitMillis = function(primary) {
getParameterResult.replElectionTimeoutOffsetLimitFraction;
}
var assertSoonIntervalMillis = 200; // from assert.js
- var applierDrainWaitMillis = 1000; // from SyncTail::tryPopAndWaitForMore()
+ var applierDrainWaitMillis = 1000; // from SyncTail::tryPopAndWaitForMore()
var electionTimeoutLimitMillis =
(1 + electionTimeoutOffsetLimitFraction) * electionTimeoutMillis + applierDrainWaitMillis +
assertSoonIntervalMillis;
diff --git a/jstests/libs/parallelTester.js b/jstests/libs/parallelTester.js
index 3639ab84bc1..2bd0f48d012 100644
--- a/jstests/libs/parallelTester.js
+++ b/jstests/libs/parallelTester.js
@@ -150,11 +150,11 @@ if (typeof _threadInject != "undefined") {
// this has a chance to see the message
"connections_opened.js", // counts connections, globally
"opcounters_write_cmd.js",
- "currentop.js", // SERVER-8673, plus rwlock yielding issues
- "set_param1.js", // changes global state
- "geo_update_btree2.js", // SERVER-11132 test disables table scans
- "update_setOnInsert.js", // SERVER-9982
- "max_time_ms.js", // Sensitive to query execution time, by design
+ "currentop.js", // SERVER-8673, plus rwlock yielding issues
+ "set_param1.js", // changes global state
+ "geo_update_btree2.js", // SERVER-11132 test disables table scans
+ "update_setOnInsert.js", // SERVER-9982
+ "max_time_ms.js", // Sensitive to query execution time, by design
"collection_info_cache_race.js", // Requires collection exists
// This overwrites MinKey/MaxKey's singleton which breaks
diff --git a/jstests/libs/test_background_ops.js b/jstests/libs/test_background_ops.js
index 7c8ebc16883..ce21a636ff6 100644
--- a/jstests/libs/test_background_ops.js
+++ b/jstests/libs/test_background_ops.js
@@ -276,7 +276,7 @@ var RandomFunctionContext = function(context) {
Random.randCluster = function() {
var numShards = 2; // Random.randInt( 1, 10 )
- var rs = false; // Random.randBool()
+ var rs = false; // Random.randBool()
var st = new ShardingTest({shards: numShards, mongos: 4, other: {rs: rs}});
return st;