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

Make serverExitCodeMap useful to detect if server crashed on startup before connection established

    • Fully Compatible
    • v3.6
    • TIG 2018-04-23
    • 56

      It is possible for the same pid to be assigned to processes spawned at different points in time during a test. The way serverExitCodeMap is implemented makes it so that checking the exit code of the process in MongoRunner.stopMongod() may see the wrong exit code for the process which was just spawned.


      Original description

      MongoRunner.stopMongod should explicitly check for exit code 100 on instances where it is expected to fail with non-zero exit code.

            Assignee:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: