You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Matt Pavlovich (Jira)" <ji...@apache.org> on 2023/10/29 16:08:00 UTC
[jira] [Commented] (AMQ-9348) activemq-http MQTTWSConnectionTimeoutTest is failing
[ https://issues.apache.org/jira/browse/AMQ-9348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17780748#comment-17780748 ]
Matt Pavlovich commented on AMQ-9348:
-------------------------------------
Looks to be a timing / race condition.
> activemq-http MQTTWSConnectionTimeoutTest is failing
> ----------------------------------------------------
>
> Key: AMQ-9348
> URL: https://issues.apache.org/jira/browse/AMQ-9348
> Project: ActiveMQ
> Issue Type: Bug
> Components: Test Cases
> Affects Versions: 6.0.0
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 6.0.0
>
>
> {{MQTTWSConnectionTimeoutTest}} (in {{activemq-http}} module) is failing:
> {code:java}
> [INFO] Running org.apache.activemq.transport.ws.MQTTWSConnectionTimeoutTest
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 61.09 s <<< FAILURE! -- in org.apache.activemq.transport.ws.MQTTWSConnectionTimeoutTest
> [ERROR] org.apache.activemq.transport.ws.MQTTWSConnectionTimeoutTest.testInactivityMonitor -- Time elapsed: 61.05 s <<< FAILURE!
> java.lang.AssertionError: no dangling connections
> at org.junit.Assert.fail(Assert.java:89)
> at org.junit.Assert.assertTrue(Assert.java:42)
> at org.apache.activemq.transport.ws.MQTTWSConnectionTimeoutTest.testInactivityMonitor(MQTTWSConnectionTimeoutTest.java:72)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
> at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at java.base/java.lang.Thread.run(Thread.java:840) {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)