[ 
https://issues.apache.org/jira/browse/QPID-3350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robbie Gemmell updated QPID-3350:
---------------------------------

    Component/s: Python Test Suite
    
> Python federation tests (federation.FederationTests.*) leak connections
> -----------------------------------------------------------------------
>
>                 Key: QPID-3350
>                 URL: https://issues.apache.org/jira/browse/QPID-3350
>             Project: Qpid
>          Issue Type: Bug
>          Components: Python Test Suite
>    Affects Versions: 0.12
>            Reporter: Kim van der Riet
>            Assignee: Ken Giusti
>            Priority: Minor
>             Fix For: 0.15
>
>
> Several (but not all) the federation tests leak connection objects. This 
> causes the connections and hence the threads behind them to remain active 
> beyond the life of the test, and are cleaned up only when the entire test set 
> completes. This test set is short enough that there is currently no 
> side-effect, but if the test set is lengthened, then tests could potentially 
> fail because there are no more handles available for threads. (In Linux, the 
> default is 1024 handles per user.)
> By observing calls to qpid.Connection.start() and qpid.Connection.close(), 
> tests can be seen where start() is called for a connection, but no matching 
> close() exists. Using this technique, the following tests were observed to 
> leak connections (with the number of leaked connections):
> federation.FederationTests.test_dynamic_direct (1)
> federation.FederationTests.test_dynamic_direct_reorigin (1)
> federation.FederationTests.test_dynamic_fanout (1)
> federation.FederationTests.test_dynamic_headers_all (1)
> federation.FederationTests.test_dynamic_headers_any (1)
> federation.FederationTests.test_dynamic_headers_reorigin (1)
> federation.FederationTests.test_dynamic_headers_reorigin_xml (1)
> federation.FederationTests.test_dynamic_headers_unbind (1)
> federation.FederationTests.test_dynamic_headers_unbind_xml (1)
> federation.FederationTests.test_dynamic_headers_xml (1)
> federation.FederationTests.test_dynamic_topic (1)
> federation.FederationTests.test_dynamic_topic_nodup (1)
> federation.FederationTests.test_dynamic_topic_reorigin (1)
> federation.FederationTests.test_pull_from_exchange (1)
> federation.FederationTests.test_pull_from_queue (1)
> federation.FederationTests.test_push_to_exchange (1)
> federation.FederationTests.test_tracing (1)
> federation.FederationTests.test_tracing_automatic (1)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to