[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: |