[ 
https://issues.apache.org/jira/browse/CAMEL-24029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aurélien Pupier reopened CAMEL-24029:
-------------------------------------

StopRouteAbortAfterTimeoutTest still failing with same frequency, to check for 
the others

https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=camel&search.timeZoneId=Europe%2FParis&tests.container=org.apache.camel.impl.StopRouteAbortAfterTimeoutTest

{noformat}
[camel-core] [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time 
elapsed: 2.979 s <<< FAILURE! -- in 
org.apache.camel.impl.StopRouteAbortAfterTimeoutTest
[camel-core] [ERROR] 
org.apache.camel.impl.StopRouteAbortAfterTimeoutTest.testStopRouteWithAbortAfterTimeoutTrue
 -- Time elapsed: 0.945 s <<< FAILURE!
org.opentest4j.AssertionFailedError: stopRoute response should be False ==> 
expected: <false> but was: <true>
        at org.junit.jupiter.api.Assertions.assertFalse(Assertions.java:266)
        at 
org.apache.camel.impl.StopRouteAbortAfterTimeoutTest.testStopRouteWithAbortAfterTimeoutTrue(StopRouteAbortAfterTimeoutTest.java:48)
{noformat}

> Fix flaky camel-core tests using timed assertions
> -------------------------------------------------
>
>                 Key: CAMEL-24029
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24029
>             Project: Camel
>          Issue Type: Test
>          Components: camel-core
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: 4.22.0
>
>
> Several camel-core tests are flaky on CI due to missing explicit timeouts on 
> MockEndpoint assertions:
> - StopRouteAbortAfterTimeoutTest (3 flaky, 1 failed)
> - LoopNoBreakOnShutdownTest (7 flaky)
> - DefaultCamelContextSuspendResumeRouteTest (5 flaky)
> _Claude Code on behalf of gnodet_



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

Reply via email to