diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2015-06-11 09:40:14 -0400 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2015-06-11 09:40:14 -0400 |
commit | 37f58ed85dc2ad27bac876ec4f2802d8f248b91d (patch) | |
tree | cc1685aa6005475a9d21c73822edf2b0e9fcc901 /jstests/concurrency/fsm_libs/thread_mgr.js | |
parent | 4035cab6b974613af9eb06ac1a92cc39d6ba8e06 (diff) | |
download | mongo-37f58ed85dc2ad27bac876ec4f2802d8f248b91d.tar.gz |
SERVER-18810 FSM support multiple mongos connections, alternating per workload thread.
Diffstat (limited to 'jstests/concurrency/fsm_libs/thread_mgr.js')
-rw-r--r-- | jstests/concurrency/fsm_libs/thread_mgr.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/concurrency/fsm_libs/thread_mgr.js b/jstests/concurrency/fsm_libs/thread_mgr.js index 03e5607ed2c..93c15efffd0 100644 --- a/jstests/concurrency/fsm_libs/thread_mgr.js +++ b/jstests/concurrency/fsm_libs/thread_mgr.js @@ -87,7 +87,7 @@ var ThreadManager = function(clusterOptions, executionMode) { initialized = true; }; - this.spawnAll = function spawnAll(host, options) { + this.spawnAll = function spawnAll(cluster, options) { if (!initialized) { throw new Error('thread manager has not been initialized yet'); } @@ -110,7 +110,7 @@ var ThreadManager = function(clusterOptions, executionMode) { var args = { tid: tid++, data: workloadData, - host: host, + host: cluster.getHost(), latch: latch, dbName: _context[workload].dbName, collName: _context[workload].collName, |