Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit f3ae34261a358a4ae4481c5d3ecf02d647c89fe4 1 parent c406694
@RedBeard0531 RedBeard0531 authored
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.
Please sign in to comment.
Something went wrong with that request. Please try again.