summaryrefslogtreecommitdiff
path: root/jstests/sharding/count2.js
diff options
context:
space:
mode:
authorGreg Studer <greg@10gen.com>2012-10-17 13:08:24 -0400
committerGreg Studer <greg@10gen.com>2012-10-17 16:06:01 -0400
commit34107e2d9785dfbc2665a30a724bf68049f87309 (patch)
tree6c2d8c2db67173ea30dd6b444313ac69e53a7668 /jstests/sharding/count2.js
parent3e4f2ab253a717240c101478c022ac667db74cfd (diff)
downloadmongo-34107e2d9785dfbc2665a30a724bf68049f87309.tar.gz
SERVER-7376 test fixes for 2.2
Diffstat (limited to 'jstests/sharding/count2.js')
-rw-r--r--jstests/sharding/count2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/count2.js b/jstests/sharding/count2.js
index ae0559ddb1a..edac3b692ec 100644
--- a/jstests/sharding/count2.js
+++ b/jstests/sharding/count2.js
@@ -26,7 +26,7 @@ assert.eq( 3, db2.count( { name : { $gte: "aaa" , $lt: "ddd" } } ) , "initial co
s1.printChunks( "test.foo" )
-s1.adminCommand( { movechunk : "test.foo" , find : { name : "aaa" } , to : s1.getOther( s1.getServer( "test" ) ).name } );
+s1.adminCommand( { movechunk : "test.foo" , find : { name : "aaa" } , to : s1.getOther( s1.getServer( "test" ) ).name, _waitForDelete : true });
assert.eq( 3, db1.count( { name : { $gte: "aaa" , $lt: "ddd" } } ) , "post count mongos1" );