[
https://issues.apache.org/jira/browse/AMQ-9819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18045902#comment-18045902
]
ASF subversion and git services commented on AMQ-9819:
------------------------------------------------------
Commit a53f05015b01b4572ad1b6a8f0a6e62fb8b18785 in activemq's branch
refs/heads/main from Jean-Louis Monteiro
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=a53f05015b ]
[AMQ-9819]: harden #testConsumeAsyncTimeout() so it does not rely on a specific
order of the 2 async requests made
> 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: 1h
> 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: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact