Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8443

ReplSetTest.callIsMaster should report the exception it catches

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

      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 Tad Marshall
            Reporter:
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: