Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-77308

Increase balancerChunksSelectionTimeoutMs on unittests

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Sharding EMEA
    • Fully Compatible
    • Sharding EMEA 2023-07-10
    • 5
    • 1

      We have seen some failures on BalancerChunkSelectionTest unit tests due to balancerChunksSelectionTimeoutMs timeout expirations on specific slow build variants.

      Currently balancerChunksSelectionTimeoutMs defaults to 5 seconds, so we should increase the timeout for these unit tests.

      To do that I suggest using a RAIIServerParameterControllerForTest in a similar way that is being used here to set the timeout to zero.

            Assignee:
            pau.baldillou-salse@mongodb.com Pau Baldillou Salse (Inactive)
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: