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

Robbie Gemmell updated QPID-3756:
---------------------------------

    Status: Open  (was: Ready To Review)

I dont see this as a test problem, this is a broker side issue.

As per Keith's original comment, I think we should be unregistering the MBean 
before responding to the client that the connection is closed, as occurs for 
0-9-1 clients. Unregistering the MBean is part of the process of closing, and 
we should  look to prevent the MBean being present and usable for any length of 
time after the connection is no longer considered live.
                
> ManagedConnectionMBeanTest.testChannels fails on 0-10 spawned profiles
> ----------------------------------------------------------------------
>
>                 Key: QPID-3756
>                 URL: https://issues.apache.org/jira/browse/QPID-3756
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.15
>            Reporter: Keith Wall
>            Assignee: Robbie Gemmell
>            Priority: Minor
>         Attachments: 
> 0001-QPID-3756-Fix-system-test-ManagedConnectionMBeanTest.patch
>
>
> We see the following test fail occasionally on the java-mms-spawn.0-10 and 
> java-bdb-spawn.0-10.  The stack trace is as folows:
> Error Message
> Unexpected number of connection mbeans expected:<0> but was:<1>
> {code}
> Stacktrace
> junit.framework.AssertionFailedError: Unexpected number of connection mbeans 
> expected:<0> but was:<1>
> at 
> org.apache.qpid.management.jmx.ManagedConnectionMBeanTest.testChannels(ManagedConnectionMBeanTest.java:125)
> at 
> org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:240)
> at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:135)
> {code}

--
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:[email protected]

Reply via email to