5e99516a27
PagingStroeImpl.checkReleasedMemory() will kick off executor.execute(this::memoryReleased) to pull from the queue onMemoryFreedRunnables asynchronously. If the executor fires the task too late, it can pick up one of the late trackMemoryChecks runnable and increase its calls, making assertion fail. need to flush the executors to make sure it doesn't happen. |
||
---|---|---|
.. | ||
src/test/java/org/apache/activemq/artemis/tests | ||
pom.xml |