summaryrefslogtreecommitdiff
path: root/jstests/sharding/migrateBig.js
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2013-04-03 15:12:43 -0400
committerEric Milkie <milkie@10gen.com>2013-04-03 15:12:49 -0400
commitc45071d421239819e23cc0ff2a0f7ba10f618e77 (patch)
treea8641f31fa58f53ba6fd142903f237e94c645243 /jstests/sharding/migrateBig.js
parent3dde5c13b5a3dca40f8e3c47696bf33ca7fbf7ab (diff)
downloadmongo-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.js2
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 } } );