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

Have better task timeouts when dynamically setting the minimum

    • Fully Compatible
    • ALL
    • v4.0
    • DAG 2019-04-22, DAG 2019-05-06
    • 20

      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.

            david.bradford@mongodb.com David Bradford (Inactive)
            david.bradford@mongodb.com David Bradford (Inactive)
            0 Vote for this issue
            2 Start watching this issue