Skip to content

Commit

Permalink
turn balancer off during test
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Jan 25, 2012
1 parent 0c0f64f commit 03429ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jstests/sharding/count1.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
s = new ShardingTest( "count1" , 2 , 1 );
db = s.getDB( "test" );

sh.setBalancerState( false );

db.bar.save( { n : 1 } )
db.bar.save( { n : 2 } )
db.bar.save( { n : 3 } )
Expand Down

0 comments on commit 03429ab

Please sign in to comment.