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

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.30
    • Component/s: Java Tests
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: