mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-10 03:55:58 +00:00
The method testStopConnectionDuringOnMessage in this class was relying on sleep() calls for critical timing. This test fails sometimes on fast-tests so I modified it to use a latch and a few waitFor calls to be more deterministic. It also runs in a third of the time now.