You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by "jbonofre (via GitHub)" <gi...@apache.org> on 2026/03/10 07:19:00 UTC
[PR] fix(test): fix `CachedLDAPAuthorizationModuleLegacyTest` flakiness caused by `Thread.sleep()` [activemq]
jbonofre opened a new pull request, #1748:
URL: https://github.com/apache/activemq/pull/1748
Replace `Thread.sleep()` calls with `Wait.waitFor()` in `AbstractCachedLDAPAuthorizationMapLegacyTest` to fix `testRestartAsync` timeout.
The root cause was that `getReadACLs` called while LDAP was down triggered an async reconnection task that blocked the single-threaded updater on a TCP connect timeout, causing all subsequent reconnection attempts to be silently discarded.
--
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: gitbox-unsubscribe@activemq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For additional commands, e-mail: gitbox-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact
Re: [PR] fix(test): fix `CachedLDAPAuthorizationModuleLegacyTest` flakiness caused by `Thread.sleep()` [activemq]
Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre merged PR #1748:
URL: https://github.com/apache/activemq/pull/1748
--
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: gitbox-unsubscribe@activemq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org
For additional commands, e-mail: gitbox-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact