Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-21308

camel-spring-boot - fhir transaction example is failing testing

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • camel-spring-boot, examples
    • None
    • Unknown

    Description

      [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 10.02 s <<< FAILURE! – in sample.camel.MyCamelApplicationTest
      [ERROR] sample.camel.MyCamelApplicationTest.shouldPushConvertedHl7toFhir – Time elapsed: 10.01 s <<< FAILURE!
      java.lang.AssertionError: mock://fhir:transaction/withResources Received message count. Expected: <1> but was: <0>
      at org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:2015)
      at org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:1950)
      at org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:453)
      at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:431)
      at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:421)
      at sample.camel.MyCamelApplicationTest.shouldPushConvertedHl7toFhir(MyCamelApplicationTest.java:46)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
       
      [INFO]
      [INFO] Results:
      [INFO]
      [ERROR] Failures:
      [ERROR] sample.camel.MyCamelApplicationTest.shouldPushConvertedHl7toFhir
      [ERROR]   Run 1: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 mock://fhir:transaction/withResources Received message count. Expected: <1> but was: <0>
      [ERROR]   Run 2: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 mock://fhir:transaction/withResources Received message count. Expected: <1> but was: <0>
      [ERROR]   Run 3: MyCamelApplicationTest.shouldPushConvertedHl7toFhir:46 mock://fhir:transaction/withResources Received message count. Expected: <1> but was: <0>

      Attachments

        Activity

          People

            Unassigned Unassigned
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: