mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-09 19:45:29 +00:00
2df9c0ee76
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.