diff options
author | Eric Milkie <milkie@10gen.com> | 2013-04-03 15:12:43 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2013-04-03 15:12:49 -0400 |
commit | c45071d421239819e23cc0ff2a0f7ba10f618e77 (patch) | |
tree | a8641f31fa58f53ba6fd142903f237e94c645243 /jstests/sharding/migrateBig.js | |
parent | 3dde5c13b5a3dca40f8e3c47696bf33ca7fbf7ab (diff) | |
download | mongo-c45071d421239819e23cc0ff2a0f7ba10f618e77.tar.gz |
SERVER-9229 wait for async deletes to finish before balancer stops, to avoid test failure
Diffstat (limited to 'jstests/sharding/migrateBig.js')
-rw-r--r-- | jstests/sharding/migrateBig.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/migrateBig.js b/jstests/sharding/migrateBig.js index d98459edd24..853a671915a 100644 --- a/jstests/sharding/migrateBig.js +++ b/jstests/sharding/migrateBig.js @@ -1,6 +1,6 @@ s = new ShardingTest( "migrateBig" , 2 , 0 , 1 , { chunksize : 1 } ); -s.config.settings.update( { _id: "balancer" }, { $set : { stopped: true } } , true ); +s.config.settings.update( { _id: "balancer" }, { $set : { stopped : true, _waitForDelete : true } } , true ); s.adminCommand( { enablesharding : "test" } ); s.adminCommand( { shardcollection : "test.foo" , key : { x : 1 } } ); |