Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-19384

Flaky LRA TckParticipantTests tests

XMLWordPrintable

    • ---
    • ---

      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:

              Unassigned Unassigned
              okotek@redhat.com Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: