SpecIT#acceptTest failed on CI (http://narayanaci1.eng.hst.ams2.redhat.com/job/narayana/PROFILE=MAIN,jdk=jdk8.latest,label=linux/187/) and on one of the PRs.
Ondrej Chaloupka did some investigation:
I did some experiments with the lra testing and normally tests pass on my laptop. But as you mentioned it's probably timing issue as when I slow down the network (I used tc as described at ) then the tests started to fail (I'm on master branch).
Do you think you can check it on your laptop if you can see the same issue? Or how to manage that?
Tests run: 23, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 489.336 sec <<< FAILURE! - in io.narayana.lra.participant.SpecIT
timeLimitRequiredLRA(io.narayana.lra.participant.SpecIT) Time elapsed: 14.474 sec <<< FAILURE!
java.lang.AssertionError: timeLimitRequiredLRA: compensate should have been called expected:<1> but was:<0>
acceptTest(io.narayana.lra.participant.SpecIT) Time elapsed: 30.335 sec <<< FAILURE!
java.lang.AssertionError: expected:<0> but was:<2>
connectionHangup(io.narayana.lra.participant.SpecIT) Time elapsed: 35.179 sec <<< FAILURE!
java.lang.AssertionError: connectionHangup: wrong compensation count after recovery expected:<7> but was:<6>