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

Aurélien Pupier commented on CAMEL-23223:
-----------------------------------------

> given that sometimes it is not finding data for route1 and sometimes, it is 
> not finding any for route2, I suspect that it is a timing issue and that we 
> need to improve the assertions to wait that the logs written

I changed locally to await for 10 seconds and it has failed similarly. So sound 
smor elike sometimes the metrics are not written at all

> Regular failure of ManagedMessageHistoryAutoConfigIT
> ----------------------------------------------------
>
>                 Key: CAMEL-23223
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23223
>             Project: Camel
>          Issue Type: Test
>          Components: camel-opentelemetry
>    Affects Versions: 4.19.0
>            Reporter: Aurélien Pupier
>            Priority: Minor
>
> on various architecture on CI
> {noformat}
> org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
>       at 
> org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:158)
>       at 
> org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:139)
>       at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:69)
>       at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:41)
>       at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:35)
>       at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:195)
>       at 
> org.apache.camel.opentelemetry.metrics.integration.messagehistory.ManagedMessageHistoryAutoConfigIT.testMessageHistory(ManagedMessageHistoryAutoConfigIT.java:117)
>  {noformat}
>  



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

Reply via email to