Skip to content

Commit 625863d

Browse files
committed
turn off balancer during test
1 parent 7033636 commit 625863d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jstests/sharding/shard6.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ summary = "";
44

55
s = new ShardingTest( "shard6" , 2 , 0 , 2 );
66

7+
s.config.settings.update( { _id: "balancer" }, { $set : { stopped: true } } , true );
8+
79
s.adminCommand( { enablesharding : "test" } );
810
s.adminCommand( { shardcollection : "test.data" , key : { num : 1 } } );
911

0 commit comments

Comments
 (0)