[
https://issues.apache.org/jira/browse/CAMEL-25579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-25579.
---------------------------------
Resolution: Fixed
Merged https://github.com/apache/camel/pull/27724 to main (83980c36d3e4,
4.24.0).
_Claude Code on behalf of Claus Ibsen_
> 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
> Fix For: 4.24.0
>
>
> [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)