You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jean-Louis Monteiro (Jira)" <ji...@apache.org> on 2025/12/15 10:43:00 UTC
[jira] [Commented] (AMQ-9819) org.apache.activemq.web.RestTest randomly failing
[ https://issues.apache.org/jira/browse/AMQ-9819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18045131#comment-18045131 ]
Jean-Louis Monteiro commented on AMQ-9819:
------------------------------------------
The first attempt to fix this test is still not deterministic
> org.apache.activemq.web.RestTest randomly failing
> -------------------------------------------------
>
> Key: AMQ-9819
> URL: https://issues.apache.org/jira/browse/AMQ-9819
> Project: ActiveMQ
> Issue Type: Bug
> Reporter: Jean-Louis Monteiro
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> #testConsumeAsyncTimeout() relies on 2 async calls issued to the Jetty server to make sure the first one get through and times out producing a 204 and the second gets rejected with 500 because there is already an active consumer.
>
> Unfortunately, when we issue 2 async calls, there is no guarantee on the server side that the MessageServlet instance will treat the first request first registering its consumer to the set.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact