[ 
https://issues.apache.org/jira/browse/CAMEL-21601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17911156#comment-17911156
 ] 

Claus Ibsen commented on CAMEL-21601:
-------------------------------------

Working on a fix - the tests reuse git repos and step on each other toes. So I 
am working to isolate each test to use a clean git repo

> Fix issue related to flaky test GitConsumerTest.commitConsumerTest
> ------------------------------------------------------------------
>
>                 Key: CAMEL-21601
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21601
>             Project: Camel
>          Issue Type: Test
>          Components: camel-git, tests
>    Affects Versions: 4.9.0
>            Reporter: Aurélien Pupier
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.10.0
>
>
> it failed on various JDk s and platform architecture. It failed 4 out 5 times 
> on the last builds o,n Jenkins Ci.
> {noformat}
> java.lang.AssertionError: mock://result-commit Received message count. 
> Expected: <2> but was: <3>
>       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 
> org.apache.camel.component.git.consumer.GitConsumerTest.commitConsumerTest(GitConsumerTest.java:59)
>       at java.base/java.lang.reflect.Method.invoke(Method.java:580)
>       at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
>       at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
>  {noformat}



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

Reply via email to