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

Increase the default timeout for unit-tests which schedule work through `NetworkTestEnv::launchAsync`

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.10, 4.0.27
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0
    • Sprint:
      Sharding 2019-03-25
    • Linked BF Score:
      44

      Description

      Unit-tests, which schedule asynchronous work through NetworkTestEnv::launchAsync currently wait for up to 15 seconds for that work to complete.

      On DEBUG builds and on slower Evergreen machine variants we have seen this async work take more than 15 seconds, causing the unit-tests to fail. In order to avoid these intermittent failures, we should increase this default timeout to be on the order of a few minutes (I'd say 5 minutes is a good round number).

        Attachments

          Activity

            People

            Assignee:
            kaloian.manassiev Kaloian Manassiev
            Reporter:
            kaloian.manassiev Kaloian Manassiev
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: