diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-10-14 11:42:27 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-10-14 11:45:45 -0400 |
commit | 8c089d6541f909e018f5067bdb2cd8c512570929 (patch) | |
tree | 7c74679129e123a8eec8a5653401d24ec6be3b1b /jstests | |
parent | 978a2ba232297c9f10320e980a3f1a9f2f280462 (diff) | |
download | mongo-8c089d6541f909e018f5067bdb2cd8c512570929.tar.gz |
SERVER-26584 Use separate mongod instance for startParallelOps
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/sharding/migration_move_chunk_after_receive.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/jstests/sharding/migration_move_chunk_after_receive.js b/jstests/sharding/migration_move_chunk_after_receive.js index 8493b2f16bd..08129343ac8 100644 --- a/jstests/sharding/migration_move_chunk_after_receive.js +++ b/jstests/sharding/migration_move_chunk_after_receive.js @@ -7,6 +7,8 @@ load('./jstests/libs/chunk_manipulation_util.js'); (function() { 'use strict'; + var staticMongod = MongoRunner.runMongod({}); // For startParallelOps. + var st = new ShardingTest({shards: 3}); assert.commandWorked(st.s0.adminCommand({enableSharding: 'TestDB'})); @@ -50,12 +52,12 @@ load('./jstests/libs/chunk_manipulation_util.js'); // (but after the migration of the documents has been committed on the recipient) pauseMoveChunkAtStep(st.shard0, moveChunkStepNames.chunkDataCommitted); var joinMoveChunk0 = moveChunkParallel( - st.s0, st.s0.host, {Key: 0}, null, 'TestDB.TestColl', st.shard1.shardName); + staticMongod, st.s0.host, {Key: 0}, null, 'TestDB.TestColl', st.shard1.shardName); waitForMoveChunkStep(st.shard0, moveChunkStepNames.chunkDataCommitted); pauseMoveChunkAtStep(st.shard1, moveChunkStepNames.chunkDataCommitted); var joinMoveChunk1 = moveChunkParallel( - st.s0, st.s0.host, {Key: 100}, null, 'TestDB.TestColl', st.shard2.shardName); + staticMongod, st.s0.host, {Key: 100}, null, 'TestDB.TestColl', st.shard2.shardName); waitForMoveChunkStep(st.shard1, moveChunkStepNames.chunkDataCommitted); unpauseMoveChunkAtStep(st.shard0, moveChunkStepNames.chunkDataCommitted); |