Browse files

Make test for SERVER-6118 more reliable by turning off balancer

  • Loading branch information...
1 parent c406694 commit f3ae34261a358a4ae4481c5d3ecf02d647c89fe4 @RedBeard0531 RedBeard0531 committed Jul 16, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 jstests/aggregation/bugs/server6118.js
View
3 jstests/aggregation/bugs/server6118.js
@@ -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.

0 comments on commit f3ae342

Please sign in to comment.