This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new 6374296d11 NO-JIRA avoiding race on test
6374296d11 is described below

commit 6374296d11bae9f2b98a0f1afbcedfa6d3c3beaf
Author: Clebert Suconic <[email protected]>
AuthorDate: Wed Jun 11 19:32:41 2025 -0400

    NO-JIRA avoiding race on test
---
 .../org/apache/activemq/artemis/utils/actors/ThresholdActorTest.java    | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/actors/ThresholdActorTest.java
 
b/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/actors/ThresholdActorTest.java
index 07b2749e84..fca153de8e 100644
--- 
a/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/actors/ThresholdActorTest.java
+++ 
b/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/actors/ThresholdActorTest.java
@@ -83,8 +83,6 @@ public class ThresholdActorTest {
 
          actor.flush();
 
-         open.set(false);
-
          // measuring after forced flush
          Wait.assertEquals(2, timesOpen::get, 5000, 1);
          Wait.assertTrue(open::get);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to