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

shell_hang_analyzer.js test fails assert.soon & calls hang again

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • STM 2022-03-07
    • 15
    • 1

    Description

      shell_hang_analyzer.js tests the hang analyzer by starting a dummy mongod process and killing it.

      In BF-24186, we expected the dummy process to be dead and we usedĀ this assert.soon which fails. At this point we should just fail the test, but due to the way assert.soon works, the hang analyzer gets called on all processes if assert.soon fails. In this case, we unnecessarily call the hang analyzer on an unrelated sharded cluster fixture & result in a test timeout.

      We should pass in theĀ {runHangAnalyzer = false} argument as described here to prevent running the hang analyzer on the unrelated sharded cluster fixture in this scenario.

      Attachments

        Activity

          People

            tausif.rahman@mongodb.com Tausif Rahman (Inactive)
            tausif.rahman@mongodb.com Tausif Rahman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: