Claus Ibsen created CAMEL-21308:
-----------------------------------

             Summary: camel-spring-boot - fhir transaction example is failing 
testing
                 Key: CAMEL-21308
                 URL: https://issues.apache.org/jira/browse/CAMEL-21308
             Project: Camel
          Issue Type: Task
          Components: camel-spring-boot, examples
            Reporter: Claus Ibsen


[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>



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to