Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1114

Self test framework creates links with duplicate names

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 1.3.0
    • Fix Version/s: None
    • Component/s: Tests
    • Labels:
      None

      Description

      A common pattern for self tests is to set up a sender and a receiver.

      self.receiver = event.container.create_receiver(self.conn, "org.apache.dev")
      self.sender = event.container.create_sender(self.conn, "org.apache.dev")

      Over the wire this creates two links with the same name.

      test-router.log:117:2018-09-05 10:04:29.300741 0400 SERVER (trace) [2]:0 < @attach(18)[name="6e068798-47ad-4857-b9a4-72919d2f6e8b-org.apache.dev", handle=0, role=true, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [address="org.apache.dev", durable=0, timeout=0, dynamic=false], target=@target(41) [durable=0, timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0] (/home/chug/git/qpid-dispatch/src/server.c:106)

      test-router.log:118:2018-09-05 10:04:29.300782 0400 SERVER (trace) [2]:0 < @attach(18)[name="6e068798-47ad-4857-b9a4-72919d2f6e8b-org.apache.dev", handle=1, role=false, snd-settle-mode=2, rcv-settle-mode=0, source=@source(40) [durable=0, timeout=0, dynamic=false], target=@target(41) [address="org.apache.dev", durable=0, timeout=0, dynamic=false], initial-delivery-count=0, max-message-size=0] (/home/chug/git/qpid-dispatch/src/server.c:106)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chug Chuck Rolke
                Reporter:
                chug Chuck Rolke
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: