You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2012/09/12 23:15:07 UTC

[jira] [Updated] (QPID-3350) Python federation tests (federation.FederationTests.*) leak connections

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

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

    Fix Version/s:     (was: 0.15)

Removing the released-version 0.15 fix-for, either this hasnt been done or noone thought it important enough to close the JIRA.
                
> 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
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

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