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

Fix shutdown method on ShardingTest to work with authentication on windows

    • Windows

      auth1.js fails on 32-bit Windows. This is because we attempt to shut down a server. Since we can't send a signal like we can on Linux, the shutdown code simply sends a shutdown command to the server over the wire. This doesn't work because authentication is on, and the code does not currently authenticate to send a shutdown command. The code ignores the error status and eventually times out; it then deletes the process. On 64-bit Windows, upon mongod restart the server uses the journal to recover and the test continues. On 32-bit Windows the journal is off by default, so the test fails when mongod fails to restart.

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: