[SERVER-24713] throw exception if jsTest.authenticate() fails in ReplSetTest.restart() Created: 22/Jun/16  Updated: 14/Jul/16  Resolved: 22/Jun/16

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.3.9

Type: Bug Priority: Major - P3
Reporter: Judah Schvimer Assignee: Judah Schvimer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 16 (06/24/16)
Participants:
Linked BF Score: 0

 Description   

jsTest.authenticate() catches any authentication failures and just returns false on failure. ReplSetTest.restart() calls jsTest.authenticate() but does nothing if authentication fails. It should throw a JS exception instead.



 Comments   
Comment by Githook User [ 22/Jun/16 ]

Author:

{u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}

Message: SERVER-24713 ensures config_server_checks.js fails ReplSetTest restart on authentication failure
Branch: master
https://github.com/mongodb/mongo/commit/06cf1ae191a374c2d147bc12dfd236ac26071bac

Generated at Thu Feb 08 04:07:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.