Skip to content

Commit

Permalink
SERVER-31632 write_transactions_during_migration.js should call waitF…
Browse files Browse the repository at this point in the history
…orMoveChunkStep
  • Loading branch information
renctan committed Nov 6, 2017
1 parent 3432a92 commit 11d3437
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jstests/sharding/write_transactions_during_migration.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ load('./jstests/libs/chunk_manipulation_util.js');
var joinMoveChunk =
moveChunkParallel(staticMongod, st.s.host, {x: 0}, null, 'test.user', st.shard1.shardName);

waitForMoveChunkStep(st.shard0, moveChunkStepNames.reachedSteadyState);

var insertCmd = {
insert: 'user',
documents: [{x: 10}, {x: 30}],
Expand Down

0 comments on commit 11d3437

Please sign in to comment.