You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@artemis.apache.org by "jbertram (via GitHub)" <gi...@apache.org> on 2026/08/24 13:12:08 UTC

[PR] NO-JIRA fix race condition in test [artemis]

jbertram opened a new pull request, #6638:
URL: https://github.com/apache/artemis/pull/6638

   All the tests in `org.apache.activemq.artemis.core.server.impl.ActiveMQServerStartupTest` have a race condition where `org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl#getCriticalAnalyzer` becomes non-null *before* any actions are added so that when `org.apache.activemq.artemis.utils.critical.CriticalAnalyzerAccessor#fireActions` is called it might not actually do anything.
   
   The fix is to add the actions before assigning `org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl#analyzer` a value.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org
For additional commands, e-mail: issues-help@artemis.apache.org


Re: [PR] NO-JIRA fix race condition in test [artemis]

Posted by "clebertsuconic (via GitHub)" <gi...@apache.org>.
clebertsuconic commented on PR #6638:
URL: https://github.com/apache/artemis/pull/6638#issuecomment-5397638114

   you changed production code.. I guess a JIRA would be better, stating what test it's fixing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org
For additional commands, e-mail: issues-help@artemis.apache.org


Re: [PR] NO-JIRA fix race condition in test [artemis]

Posted by "jbertram (via GitHub)" <gi...@apache.org>.
jbertram closed pull request #6638: NO-JIRA fix race condition in test
URL: https://github.com/apache/artemis/pull/6638


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org
For additional commands, e-mail: issues-help@artemis.apache.org