resmoke stepdown thread should check the exit code of mongod during clean shutdown

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Replication
    • Fully Compatible
    • Repl 2023-08-21
    • 135
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It is possible for the server process to have crashed at shutdown rather than exiting with code 0. We should surface this condition as a ServerFailure exception to halt further test execution to avoid confounding the original error. This can be accomplished by checking the return value from chosen.mongod.wait() in restart_node().

            Assignee:
            Jiawei Yang
            Reporter:
            Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: