[
https://issues.apache.org/jira/browse/AMQ-9776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18023379#comment-18023379
]
Jean-Baptiste Onofré commented on AMQ-9776:
-------------------------------------------
FYI, RestTest is excluded by default (in quick unit test profile):
[https://github.com/apache/activemq/blob/main/activemq-unit-tests/pom.xml#L1047]
In the activemq-web-demo, RestTest is flaky.
Sometime it works:
{code:java}
[INFO] Running org.apache.activemq.web.RestTest
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.537 s
-- in org.apache.activemq.web.RestTest {code}
sometime not.
I suspect the problem is on the waitForJettySocketToAccept() method that
returns "accept connection" too early.
I changed to use a classic wait and it seems to work reliiabily.
I will create a PR to improve that.
> RestTest randomly failing
> -------------------------
>
> Key: AMQ-9776
> URL: https://issues.apache.org/jira/browse/AMQ-9776
> Project: ActiveMQ Classic
> Issue Type: Bug
> Reporter: Matt Pavlovich
> Priority: Minor
>
--
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