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 2026/10/12 12:10:00 UTC

[jira] [Work started] (CAMEL-25579) Fix flaky test HttpOAuth2TokenCachingTest when launched with -T1C

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

Work on CAMEL-25579 started by Aurélien Pupier.
-----------------------------------------------
> Fix flaky test HttpOAuth2TokenCachingTest when launched with -T1C
> -----------------------------------------------------------------
>
>                 Key: CAMEL-25579
>                 URL: https://issues.apache.org/jira/browse/CAMEL-25579
>             Project: Camel
>          Issue Type: Test
>          Components: camel-http
>    Affects Versions: 4.24.0
>            Reporter: Aurélien Pupier
>            Assignee: Aurélien Pupier
>            Priority: Major
>
> [it has failed 3 times and was flaky 13 times in last 5 days when Maven build is launched with -T1C|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=camel&search.tags=*parallel*&search.timeZoneId=Europe%2FParis&tests.container=*HttpOAuth2TokenCachingTest]
> [it has never failed on main branch without -T1C option|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=camel&search.tags=main&search.timeZoneId=Europe%2FParis&tests.container=*HttpOAuth2TokenCachingTest] 
> {noformat}
> org.opentest4j.AssertionFailedError: expected: <org.apache.hc.client5.http.HttpHostConnectException> but was: <org.apache.hc.core5.http.NoHttpResponseException>
> 	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1199)
> 	at org.apache.camel.component.http.HttpOAuth2TokenCachingTest.assertExceptionExchange(HttpOAuth2TokenCachingTest.java:192)
> 	at org.apache.camel.component.http.HttpOAuth2TokenCachingTest.toDTokenIsNotCachedWhenCacheTokensIsFalse(HttpOAuth2TokenCachingTest.java:184) {noformat}



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