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/count1.js | |
parent | 3e4f2ab253a717240c101478c022ac667db74cfd (diff) | |
download | mongo-34107e2d9785dfbc2665a30a724bf68049f87309.tar.gz |
SERVER-7376 test fixes for 2.2
Diffstat (limited to 'jstests/sharding/count1.js')
-rw-r--r-- | jstests/sharding/count1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/count1.js b/jstests/sharding/count1.js index 73ba26dd97c..1b338883c31 100644 --- a/jstests/sharding/count1.js +++ b/jstests/sharding/count1.js @@ -63,7 +63,7 @@ assert.eq( 6 , db.foo.find().count() , "basic count after split " ); assert.eq( 6 , db.foo.find().sort( { name : 1 } ).count() , "basic count after split sorted " ); // part 4 -s.adminCommand( { movechunk : "test.foo" , find : { name : "allan" } , to : secondary.getMongo().name } ); +s.adminCommand( { movechunk : "test.foo" , find : { name : "allan" } , to : secondary.getMongo().name , _waitForDelete : true } ); assert.eq( 3 , primary.foo.find().toArray().length , "primary count" ); assert.eq( 3 , secondary.foo.find().toArray().length , "secondary count" ); |