You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/11/12 13:04:00 UTC

[jira] [Commented] (DISPATCH-1831) TCP adaptor test topology needs a longer backbone of interior routers

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

ASF GitHub Bot commented on DISPATCH-1831:
------------------------------------------

ChugR opened a new pull request #910:
URL: https://github.com/apache/qpid-dispatch/pull/910


   This patch is a straightforward addition of a third backbone interior router to the TCP self test.
   On my system this patch reveals a curious side effect:
   
   - Without this patch 'test_03' fails with a timeout.
   - With this patch 'test_03' succeeds.
   
   test_03 uses a TCP listener on INTA and a TCP connector on INTB. The test fails in the A-B backbone and the test passes in the A-B-C backbone.
   
   In the success case: right after the client attaches to INTA TCP listener router INTA opens a link to INTB and sends a TCP INTB@mySite message to INTB. Then INTB opens the connection to the server. 
   
   In the fail case the router-data link never gets opened.
   
   Scraper creates a detailed narrative of the test. It combines logs from all the routers, six echo servers, and as many echo clients as the test cases run. View it in a web browser by running a script generated by the test.
   
   - cd build
   - ctest -VV -R tcp_adaptor
   - cd ./tests/system_test.dir/system_tests_tcp_adaptor/TcpAdaptor/setUpClass
   - bash -x TcpAdaptor-run-scraper.sh
   - firefox TcpAdaptor.html


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> TCP adaptor test topology needs a longer backbone of interior routers
> ---------------------------------------------------------------------
>
>                 Key: DISPATCH-1831
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1831
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Protocol Adaptors, Tests
>            Reporter: Charles E. Rolke
>            Priority: Major
>             Fix For: 1.15.0
>
>
> The current topology:
> {code:java}
>     #  +-------+    +---------+    +---------+    +-------+
>     #  |  EA1  |<-->|  INTA   |<==>|  INTB   |<-->|  EB1  |
>     #  +-------+    |         |    |         |    +-------+
>     #  +-------+    |         |    |         |    +-------+
>     #  |  EA2  |<-->|         |    |         |<-->|  EB2  |
>     #  +-------+    +---------+    +---------+    +-------+
> {code}
> could be extended to 
>  
> {code:java}
>     #  +-------+    +---------+    +---------+    +---------+    +-------+
>     #  |  EA1  |<-->|  INTA   |<==>|  INTB   |<==>|  INTC   |<-->|  EC1  |
>     #  +-------+    |         |    |         |    |         |    +-------+
>     #  +-------+    |         |    |         |    |         |    +-------+
>     #  |  EA2  |<-->|         |    |         |    |         |<-->|  EC2  |
>     #  +-------+    +---------+    +---------+    +---------+    +-------+
>     #                                ^     ^
>     #                                |     |
>     #                          +-------+ +-------+
>     #                          |  EB1  | |  EB2  |
>     #                          +-------+ +-------+
> {code}
> This allows testing INTB in through message forwarding where INTB is neither a listener target nor a terminating edge uplink.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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