You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jamesnetherton (via GitHub)" <gi...@apache.org> on 2024/01/29 14:42:38 UTC
[I] Intermittent failure of DataSetTest.simpleDataSetConsumer [camel-quarkus]
jamesnetherton opened a new issue, #5695:
URL: https://github.com/apache/camel-quarkus/issues/5695
### Bug description
I cannot replicate locally but observed in the Quarkus Platform at least once:
```
2024-01-29T13:30:56.9688364Z Caused by: java.lang.AssertionError: mock://simpleDataSetResult Received message count. Expected: <1> but was: <2>
2024-01-29T13:30:56.9690099Z at org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:1860)
2024-01-29T13:30:56.9691501Z at org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:1794)
2024-01-29T13:30:56.9693014Z at org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:448)
2024-01-29T13:30:56.9694574Z at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:426)
2024-01-29T13:30:56.9696388Z at org.apache.camel.quarkus.component.dataset.it.DataSetResource.dataSetSimpleConsumer(DataSetResource.java:104)
2024-01-29T13:30:56.9698417Z at org.apache.camel.quarkus.component.dataset.it.DataSetResource_ClientProxy.dataSetSimpleConsumer(Unknown Source)
2024-01-29T13:30:56.9700141Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2024-01-29T13:30:56.9701684Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2024-01-29T13:30:56.9703463Z at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2024-01-29T13:30:56.9704882Z at java.base/java.lang.reflect.Method.invoke(Method.java:568)
2024-01-29T13:30:56.9706040Z at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:154)
2024-01-29T13:30:56.9707403Z at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:118)
2024-01-29T13:30:56.9709016Z at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:560)
2024-01-29T13:30:56.9711252Z at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:452)
2024-01-29T13:30:56.9713242Z at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:413)
2024-01-29T13:30:56.9715281Z at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:321)
2024-01-29T13:30:56.9717276Z at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:415)
2024-01-29T13:30:56.9723180Z at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:378)
2024-01-29T13:30:56.9724529Z at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:356)
2024-01-29T13:30:56.9726153Z at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:70)
2024-01-29T13:30:56.9727594Z at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:429)
```
I may not have written that test correctly. It's expecting there to be one message received by the mock endpoint. But the default is that a DataSet can produce up to 10 test messages. So maybe it's just pure luck that the test happens to verify only 1 message was receieved at the time the assertion happens.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Intermittent failure of DataSetTest.simpleDataSetConsumer [camel-quarkus]
Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #5695: Intermittent failure of DataSetTest.simpleDataSetConsumer
URL: https://github.com/apache/camel-quarkus/issues/5695
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org