Chuck Rolke created DISPATCH-1114:
-------------------------------------

             Summary: Self test framework creates links with duplicate names
                 Key: DISPATCH-1114
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1114
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Tests
    Affects Versions: 1.3.0
            Reporter: Chuck Rolke
            Assignee: Chuck Rolke


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

{color:#94558d}self{color}.receiver = 
event.container.create_receiver({color:#94558d}self{color}.conn, 
{color:#008080}"org.apache.dev"{color})
{color:#94558d}self{color}.sender = 
event.container.create_sender({color:#94558d}self{color}.conn, 
{color:#008080}"org.apache.dev"{color})

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)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to