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

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.10, 4.0.27
    • Sharding
    • None
    • Fully Compatible
    • v4.0
    • Sharding 2019-03-25
    • 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

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: