]
Michael Musgrove updated JBTM-3318:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
TckRecoveryTests#testCancelWhenParticipantIsUnavailable fails on CI
-------------------------------------------------------------------
Key: JBTM-3318
URL:
https://issues.redhat.com/browse/JBTM-3318
Project: JBoss Transaction Manager
Issue Type: Bug
Components: LRA
Affects Versions: 5.10.4.Final
Reporter: Ondrej Chaloupka
Assignee: Ondrej Chaloupka
Priority: Blocker
Attachments: org.eclipse.microprofile.lra.tck.TckRecoveryTests-output.txt
The test {{TckRecoveryTests#testCancelWhenParticipantIsUnavailable}} fails on AMS CI.
The CI is a bit slower and it seems the issue consists of timeout handling.
{code}
[INFO] Running org.eclipse.microprofile.lra.tck.TckRecoveryTests
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 57.021 s
<<< FAILURE! - in org.eclipse.microprofile.lra.tck.TckRecoveryTests
[ERROR]
testCancelWhenParticipantIsUnavailable(org.eclipse.microprofile.lra.tck.TckRecoveryTests)
Time elapsed: 28.349 s <<< FAILURE!
java.lang.AssertionError: Compensate on restarted service should have been called. Was -1
expected:<200> but was:<500>
at
org.eclipse.microprofile.lra.tck.TckRecoveryTests.testCancelWhenParticipantIsUnavailable(TckRecoveryTests.java:215)
{code}