[SERVER-8443] ReplSetTest.callIsMaster should report the exception it catches Created: 02/Feb/13  Updated: 11/Jul/16  Resolved: 03/Feb/13

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.4.0-rc1

Type: Improvement Priority: Major - P3
Reporter: Tad Marshall Assignee: Tad Marshall
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

It is hard to debug some test failures because information seen by the test is not logged.

When something called by ReplSetTest.callIsMaster() throws an exception it prints:

"ReplSetTest Could not call ismaster on node " + i

but does not include the exception that it caught, so readers have to guess what happened.

It should include the exception text to help debugging.



 Comments   
Comment by auto [ 03/Feb/13 ]

Author:

{u'date': u'2013-02-03T01:00:27Z', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-8443 Print exception information in ReplSetTest.callIsMaster
Branch: master
https://github.com/mongodb/mongo/commit/ea4fcac13bde124ff6ce9d986438235a9fe796a9

Generated at Thu Feb 08 03:17:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.