Increase timeout for ShardingTest.{stop/start}Balancer

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 11 (03/11/16)
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Spencer Brody (Inactive)
            Reporter:
            Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: