Skip to content

Commit

Permalink
SERVER-22455 Fix sharding_rs1.js timeout error due to continuous conf…
Browse files Browse the repository at this point in the history
…ig primary stepdown slowing down the balancer
  • Loading branch information
Dianna Hohensee committed Feb 8, 2016
1 parent e39a25c commit a1a4f91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jstests/sharding/sharding_rs1.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ assert.writeOK(bulk.execute({w: 3}));
assert.commandWorked(s.s.adminCommand({ shardcollection: "test.foo" , key: { _id: 1 } }));

jsTest.log("Waiting for balance to complete");
s.awaitBalance('foo', 'test', 2 * 60 * 1000);
s.awaitBalance('foo', 'test', 3 * 60 * 1000);

jsTest.log("Stopping balancer");
s.stopBalancer();
Expand Down

0 comments on commit a1a4f91

Please sign in to comment.