Qpid
  1. Qpid
  2. QPID-3857

Test ConnectionTest#testClientIDVerificationForSameUser fails occasionally

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.14
    • Fix Version/s: 0.15
    • Component/s: Java Broker, Java Tests
    • Labels:
      None

      Description

      Test ConnectionTest#testClientIDVerificationForSameUser fails occasionally with the following error:

      The client should throw a ConnectionException stating the client ID is not unique

      Stacktrace

      junit.framework.AssertionFailedError: The client should throw a ConnectionException stating the client ID is not unique
      at org.apache.qpid.test.unit.client.connection.ConnectionTest.testClientIDVerificationForSameUser(ConnectionTest.java:315)
      at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
      at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

      Test failed on profile java-mms-spawn.0-10

        Activity

        Hide
        Alex Rudyy added a comment -

        A patch with a fix is attached

        Show
        Alex Rudyy added a comment - A patch with a fix is attached
        Hide
        Alex Rudyy added a comment -

        Hi Robbie,

        Could you please review and commit the patch attached?

        Show
        Alex Rudyy added a comment - Hi Robbie, Could you please review and commit the patch attached?
        Hide
        Robbie Gemmell added a comment -

        I have applied the patch, then gone a little further and removed the now-redundant impl method it updated.

        Show
        Robbie Gemmell added a comment - I have applied the patch, then gone a little further and removed the now-redundant impl method it updated.

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Alex Rudyy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development