gruelbox/orko

Intermittent test failure - testMonitorTicker

badgerwithagun opened this issue · 0 comments

[ERROR] testMonitorTicker(com.gruelbox.orko.job.script.TestScriptJobProcessor)  Time elapsed: 1.048 s  <<< FAILURE!
org.mockito.exceptions.verification.TooManyActualInvocations: 
exchangeEventSubscription.close();
Wanted 1 time:
-> at com.gruelbox.orko.job.script.TestScriptJobProcessor.testMonitorTicker(TestScriptJobProcessor.java:318)
But was 2 times:
-> at com.gruelbox.orko.util.SafelyClose.lambda$the$0(SafelyClose.java:44)
-> at com.gruelbox.orko.util.SafelyClose.lambda$the$0(SafelyClose.java:44)

Possibly concurrency issue.