You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Aurélien Pupier (Jira)" <ji...@apache.org> on 2025/01/08 08:47:00 UTC

[jira] [Created] (CAMEL-21601) Fix issue related to flaky test GitConsumerTest.commitConsumerTest

Aurélien Pupier created CAMEL-21601:
---------------------------------------

             Summary: 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
    Affects Versions: 4.9.0
            Reporter: Aurélien Pupier


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)