qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Gemmell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-1114) Self test framework creates links with duplicate names
Date Fri, 07 Sep 2018 09:31:00 GMT

    [ https://issues.apache.org/jira/browse/DISPATCH-1114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16606891#comment-16606891

Robbie Gemmell commented on DISPATCH-1114:

As mentioned on PROTON-1927, creating a sender and receiver link with the same name is allowed.
I'd agree it might be nice to avoid it to make things more useful later however (e.g, in qpid-jms
we prefix generated names with the use of the link when possible, e.g is it a sender, receiver,
tx coordinator). The tests could supply their own names rather than relying on proton to generate

> 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
>            Priority: Major
> 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:#94558d}self{color}.sender = event.container.create_sender({color:#94558d}self{color}.conn,
> 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

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message