[SERVER-5024] Fix shutdown method on ShardingTest to work with authentication on windows Created: 21/Feb/12 Updated: 11/Jul/16 Resolved: 30/Jan/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security, Shell, Testing Infrastructure |
| Affects Version/s: | 2.2.3, 2.4.0-rc0 |
| Fix Version/s: | 2.5.5 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Eric Milkie | Assignee: | Mark Benvenuto |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows |
||
| Issue Links: |
|
||||||||||||||||
| Operating System: | Windows | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
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. |
| Comments |
| Comment by Spencer Brody (Inactive) [ 30/Jan/14 ] |
|
https://github.com/mongodb/mongo/commit/39032c059a318f1c9e0f917ba4af051cd1c2420f |
| Comment by Eric Milkie [ 08/Jan/14 ] |
|
All that should be left to do here is uncomment out the tests that I disabled last year. |
| Comment by Spencer Brody (Inactive) [ 07/Jan/14 ] |
|
This was closed as a dupe of |
| Comment by Daniel Pasette (Inactive) [ 18/Nov/13 ] |
|
See |
| Comment by auto [ 21/Feb/12 ] |
|
Author: {u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: |
| Comment by auto [ 21/Feb/12 ] |
|
Author: {u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: |