diff options
author | Greg Studer <greg@10gen.com> | 2012-10-17 13:08:24 -0400 |
---|---|---|
committer | Greg Studer <greg@10gen.com> | 2012-10-17 16:06:01 -0400 |
commit | 34107e2d9785dfbc2665a30a724bf68049f87309 (patch) | |
tree | 6c2d8c2db67173ea30dd6b444313ac69e53a7668 /jstests/sharding/count2.js | |
parent | 3e4f2ab253a717240c101478c022ac667db74cfd (diff) | |
download | mongo-34107e2d9785dfbc2665a30a724bf68049f87309.tar.gz |
SERVER-7376 test fixes for 2.2
Diffstat (limited to 'jstests/sharding/count2.js')
-rw-r--r-- | jstests/sharding/count2.js | 2 |
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" ); |