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

ReplSetTest.callIsMaster should report the exception it catches

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.4.0-rc1
    • None
    • Testing Infrastructure
    • None
    • Fully Compatible

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: