Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6030

[Java Tests] The mock virtualhost creation in the BrokerTestHelper has not been updated for VirtualHostNodes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.30
    • Java Tests
    • None

    Description

      The mock virtualhost object is defined to respond to a request to get a Broker parent, but the virtualhost's parent is now a VirtualHostNode.

      This causes spurious NullPointerExceptions in the housekeeping thread where the vhost attempts to get to the broker object via the virtualhostnode.

      Since exceptions in the housekeeping tasks are ignored this defect actually seems to have no effect on the tests themselves, but add unnecessary exception stack traces to the test logs.

      Attachments

        Activity

          People

            rgodfrey Robert Godfrey
            rgodfrey Robert Godfrey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: