ExhaustiveACLTests can timeout (but still pass) during teardown [0-9-1]
-----------------------------------------------------------------------
Key: QPID-3819
URL: https://issues.apache.org/jira/browse/QPID-3819
Project: Qpid
Issue Type: Bug
Components: Java Tests
Affects Versions: 0.15
Reporter: Keith Wall
Assignee: Keith Wall
On the 0-9-1 test profiles we sometimes see ExhaustiveACLTest take 30 or 60
seconds then pass. On investigation I see that we are logging an error, but the
test is still passing:
{code}
main 2012-02-07 13:57:19,657 ERROR [apache.qpid.client.AMQConnection] error:
org.apache.qpid.AMQTimeoutException: Close did not complete in timely fashion
[error code 408: Request Timeout]
at
org.apache.qpid.client.AMQConnectionDelegate_8_0.closeConnection(AMQConnectionDelegate_8_0.java:91)
at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:865)
at org.apache.qpid.client.AMQConnection.doClose(AMQConnection.java:832)
at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:816)
at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:807)
at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:802)
at
org.apache.qpid.test.utils.QpidBrokerTestCase.tearDown(QpidBrokerTestCase.java:1047)
at
org.apache.qpid.server.security.acl.AbstractACLTestCase.tearDown(AbstractACLTestCase.java:105)
at junit.framework.TestCase.runBare(TestCase.java:130)
at
org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:237)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:422)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:931)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:785)
Caused by: org.apache.qpid.AMQTimeoutException: Server did not respond in a
timely fashion [error code 408: Request Timeout]
at
org.apache.qpid.client.util.BlockingWaiter.block(BlockingWaiter.java:178)
at org.apache.qpid.client.state.StateWaiter.await(StateWaiter.java:111)
at
org.apache.qpid.client.AMQConnectionDelegate_8_0.closeConnection(AMQConnectionDelegate_8_0.java:87)
... 19 more
{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]