Skip to content

Commit

Permalink
Make test for SERVER-6118 more reliable by turning off balancer
Browse files Browse the repository at this point in the history
  • Loading branch information
RedBeard0531 committed Jul 16, 2012
1 parent c406694 commit f3ae342
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jstests/aggregation/bugs/server6118.js
Expand Up @@ -5,6 +5,9 @@ s = new ShardingTest( "aggregation_sort1", 2, 0, 2 );
s.adminCommand( { enablesharding:"test" } );
s.adminCommand( { shardcollection:"test.data", key:{ _id:1 } } );

// Test does it's own balancing.
s.stopBalancer();

d = s.getDB( "test" );

// Insert _id values 0 - 99.
Expand Down

0 comments on commit f3ae342

Please sign in to comment.