Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-27253

(xp-5.0.z) Flaky LRA TckParticipantTests tests

XMLWordPrintable

    • False
    • None
    • False

      Two of org.eclipse.microprofile.lra.tck.TckParticipantTests tests intermittently fail: testNonJaxRsCompletionStageVoid and testNonJaxRsCompletionStageResponseAndParticipantStatus with

      java.lang.AssertionError: Non JAX-RS @Compensate method with CompletionStage<Void> should have been called expected:<1> but was:<0>
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.failNotEquals(Assert.java:835)
        at org.junit.Assert.assertEquals(Assert.java:647)
        at org.eclipse.microprofile.lra.tck.service.LRAMetricAssertions.assertCompensatedEquals(LRAMetricAssertions.java:91)
        at org.eclipse.microprofile.lra.tck.TckParticipantTests.testNonJaxRsCompletionStageVoid(TckParticipantTests.java:145)
      

      and

      java.lang.AssertionError: Non JAX-RS @Complete method with CompletionStage<Response> should have been called expected:<1> but was:<0>
        at deployment.valid-deploy.war//org.junit.Assert.fail(Assert.java:89)
        at deployment.valid-deploy.war//org.junit.Assert.failNotEquals(Assert.java:835)
        at deployment.valid-deploy.war//org.junit.Assert.assertEquals(Assert.java:647)
        at deployment.valid-deploy.war//org.eclipse.microprofile.lra.tck.service.LRAMetricAssertions.assertCompletedEquals(LRAMetricAssertions.java:154)
        at deployment.valid-deploy.war//org.eclipse.microprofile.lra.tck.TckParticipantTests.testNonJaxRsCompletionStageResponseAndParticipantStatus(TckParticipantTests.java:171)
      

      respectively. See test runs:

              rh-ee-msappegr Marco Sappe Griot
              okotek@redhat.com Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: