qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Kennedy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (QPID-3013) ConnectionCloseTest fails on machines with increased processor counts
Date Mon, 24 Jan 2011 15:01:44 GMT

    [ https://issues.apache.org/jira/browse/QPID-3013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985722#action_12985722
] 

Andrew Kennedy commented on QPID-3013:
--------------------------------------

Good idea, but should move the intialConnection.close() to after counting the threads for
the second time, as in the sequence below. Additionally, the delta check should be scalable
with the number of CPUs - see step 5 below, although the coefficients may need fixing, as
I just guessed:

1. start initial connection
2. count threads T_1
3. perform test
4. count threads T_2
5. delta = T_2 - T_1 <= (a * CPUs) + b : { a = 2, b = 4 }
6. close initial connection

> ConnectionCloseTest fails on machines with increased processor counts
> ---------------------------------------------------------------------
>
>                 Key: QPID-3013
>                 URL: https://issues.apache.org/jira/browse/QPID-3013
>             Project: Qpid
>          Issue Type: Test
>          Components: Java Broker, Java Client
>    Affects Versions: 0.8
>            Reporter: Robbie Gemmell
>            Assignee: Andrew Kennedy
>            Priority: Minor
>             Fix For: 0.9
>
>
> ConnectionCloseTest fails on machines with increased processor counts. This is because
it does allow for the larger number of threads that can be assigned to thread pools created
in the MINA codebase.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message