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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • STM 2022-03-07
    • 15
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Tausif Rahman (Inactive)
            Reporter:
            Tausif Rahman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: