Github user michaelandrepearce commented on the issue:
https://github.com/apache/activemq-artemis/pull/2444
Re testing could you simply not use a mocking framework to assert that
file.sync was invoked when releaseResources is called? This way would ensure
the file sync change isnt regressed from there.---
