ReplSetTest.callIsMaster should report the exception it catches

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.4.0-rc1
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Tad Marshall
            Reporter:
            Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: