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

Timeout-related assert.soon failures should trigger the hang analyzer

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • STM 2019-10-31
    • 22
    • 2

    Description

      When an test fails due to a timeout, it would be nice if that would trigger the hang analyzer before tearing down the processes. This would let us see what the server is doing that is preventing it from doing what we expect.

      Timeout-related failures include:

      • assert.soon()
      • wtimeout expiring
      • $maxTimeMs expiring

      Update: Per discussion below we will be limiting this to assert.soon, assert.soonNoExcept, assert.retry, and assert.assert.retryNoExcept.

      Attachments

        Activity

          People

            ryan.timmons@mongodb.com Ryan Timmons
            mathias@mongodb.com Mathias Stearn
            Votes:
            11 Vote for this issue
            Watchers:
            15 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: