Lots of jstests use ShardingTest.{start/stop}Balancer to change the balancer state, without passing a timeout. sh.stopBalancer waits for a balancer round to run before terminating. The default timeout for sh.stopBalancer is 30 seconds, and the balancer only runs once every 30 seconds, so this is intrinsically a racy check.
Increase timeout for ShardingTest.{stop/start}Balancer
- Assignee:
-
Spencer Brody (Inactive)
- Reporter:
-
Spencer Brody (Inactive)
- Votes:
-
0 Vote for this issue - Watchers:
-
2 Start watching this issue
- Created:
- Updated:
- Resolved: