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

Have better task timeouts when dynamically setting the minimum

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0
    • Sprint:
      DAG 2019-04-22, DAG 2019-05-06
    • Linked BF Score:
      20

      Description

      When resmoke tasks are split into sub-buckets, we will set a dynamic timeout that is 3 times how long we expect all the tests to execute. If all tests are really quick (a few seconds or less), small variations in test runtime can cause the timeout to be hit. To avoid this, we added a minimum timeout of 5 minutes. However, if the total runtime of the tests is close to that, we could still hit the timeout. If we are in a situation where the total runtime is less than the minimum, we should use 3 times the minimum to give us some extra buffer for variations in runtime.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: