summaryrefslogtreecommitdiff
path: root/jstests/concurrency
diff options
context:
space:
mode:
authorMike Grundy <michael.grundy@10gen.com>2016-02-04 12:27:24 -0500
committerMike Grundy <michael.grundy@10gen.com>2016-02-05 15:00:49 -0500
commit424abb4cf3dc680e2acc56ebed96f47949c79c71 (patch)
treefd47f53e9af7a2b19e22001a410fb543f92502c6 /jstests/concurrency
parentc070452eed7d4dc7be2ebff083e0830d3d486896 (diff)
downloadmongo-424abb4cf3dc680e2acc56ebed96f47949c79c71.tar.gz
SERVER-22341 fix jslint errors in jstests/concurrency with eslint --fix
Diffstat (limited to 'jstests/concurrency')
-rw-r--r--jstests/concurrency/fsm_libs/cluster.js4
-rw-r--r--jstests/concurrency/fsm_workloads/yield_geo_near.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/jstests/concurrency/fsm_libs/cluster.js b/jstests/concurrency/fsm_libs/cluster.js
index 29d29a5aa4b..f6d5fc9a793 100644
--- a/jstests/concurrency/fsm_libs/cluster.js
+++ b/jstests/concurrency/fsm_libs/cluster.js
@@ -150,7 +150,7 @@ var Cluster = function(options) {
// Specify a longer timeout for replSetInitiate, to ensure that
// slow hardware has sufficient time for file pre-allocation.
initiateTimeout: REPL_SET_INITIATE_TIMEOUT_MS,
- }
+ };
}
st = new ShardingTest(shardConfig);
@@ -399,7 +399,7 @@ var Cluster = function(options) {
shard = st['shard' + i];
}
return cluster;
- }
+ };
this.startBalancer = function startBalancer() {
assert(initialized, 'cluster must be initialized first');
diff --git a/jstests/concurrency/fsm_workloads/yield_geo_near.js b/jstests/concurrency/fsm_workloads/yield_geo_near.js
index 08c106625f4..b75c77d77a1 100644
--- a/jstests/concurrency/fsm_workloads/yield_geo_near.js
+++ b/jstests/concurrency/fsm_workloads/yield_geo_near.js
@@ -45,11 +45,11 @@ var $config = extendWorkload($config, function($config, $super) {
$config.data.getIndexSpec = function getIndexSpec() {
return { geo: '2d' };
- }
+ };
$config.data.getReplaceSpec = function getReplaceSpec(i, coords) {
return { _id: i, geo: coords };
- }
+ };
/*
* Insert some docs in geo form and make a 2d index.