[
https://issues.apache.org/jira/browse/ARTEMIS-4082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712422#comment-17712422
]
Robbie Gemmell commented on ARTEMIS-4082:
-----------------------------------------
I spent a while investigating this since its been especially annoying me in PRs
etc recently :) I found this test didnt seem to be doing anything wrong,
identifying it was actually failing because of what happened in a previous
test, and then eventually it seems which one and that giving a clue on why. I
raised ARTEMIS-4242 to track the apparent issue leading to this.
I've also added a minimal workaround/hack to the problematic test for now to
hopefully stop this one or others from failing sporadically until that issue is
addressed.
(I also removed a test that entirely duplicated this one).
> AcknowledgementTest.testDupsOKAcknowledgeQueue test is flakey
> -------------------------------------------------------------
>
> Key: ARTEMIS-4082
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4082
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Tests
> Affects Versions: 2.27.0
> Reporter: Stephen Baker
> Priority: Major
>
> The test AcknowledgementTest.testDupsOKAcknowledgeQueue is failing
> periodically in the github pipelines as in [this test
> run|https://github.com/apache/activemq-artemis/actions/runs/3395723628/jobs/5645964982].
> ```
> [INFO] Results:
>
> [INFO]
>
> Error: Failures:
>
> Error:
> AcknowledgementTest.testDupsOKAcknowledgeQueue:555->ActiveMQServerTestCase.assertRemainingMessages:364
> expected:<20> but was:<21>
> ```
> [https://github.com/apache/activemq-artemis/actions/runs/3395723628/jobs/5645964982]
> [https://github.com/apache/activemq-artemis/actions/runs/3393392411/jobs/5640675100#step:5:30915]
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)