Qpid
  1. Qpid
  2. QPID-2484

Interoperability tests fail due to attempts to print out contents of JMS Message objects, and do not parse command line properies

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.7
    • Component/s: Java Tests
    • Labels:

      Description

      Interoperability tests fail due to attempts to print out contents of JMS Message objects, as the messages are not considered readable. This is exposed in the toString method, which is called during String concatenation. To fix this, the TestClient and ConversationFactory classes have been modified to print the JMSMessageId instead, which is always accessible. Additionally, the TestClient class does not correctly use parsed command line properties, and fails to set the broker URL and default virtual host name. The default virtual host should be set to "test" in the default properties, to match the Javadoc, and the TestClient should add the parsed command line properties to the default properties with the correct name.

        Activity

        Andrew Kennedy created issue -
        Andrew Kennedy made changes -
        Field Original Value New Value
        Attachment 0001-QPID-2484-Fix-interoperability-test-client-branch.patch [ 12441018 ]
        Attachment 0001-QPID-2484-Fix-interoperability-test-client-trunk.patch [ 12441019 ]
        Martin Ritchie made changes -
        Assignee Martin Ritchie [ ritchiem ]
        Andrew Kennedy made changes -
        Attachment 0001-QPID-2484-Fix-interoperability-test-client-trunk.patch [ 12441019 ]
        Martin Ritchie made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Robbie Gemmell made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Martin Ritchie
            Reporter:
            Andrew Kennedy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development