[
https://issues.apache.org/jira/browse/CAMEL-25191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-25191.
---------------------------------
Resolution: Fixed
Fixed by https://github.com/apache/camel/pull/27603 (merged to main as
6bd370054f2b, 4.23.0).
_Claude Code on behalf of davsclaus_
> Fix flaky test MainNotAutoConfiguredWarningTest
> -----------------------------------------------
>
> Key: CAMEL-25191
> URL: https://issues.apache.org/jira/browse/CAMEL-25191
> Project: Camel
> Issue Type: Test
> Components: camel-main
> Affects Versions: 4.23.0
> Reporter: Aurélien Pupier
> Assignee: Guillaume Nodet
> Priority: Major
> Fix For: 4.23.0
>
>
> test added 2 days ago, it is flaky [17% of the time on Jenkins
> CI|https://develocity.apache.org/scans/tests?search.rootProjectNames=camel&search.tags=main&search.timeZoneId=Europe%2FParis&tests.container=org.apache.camel.main.MainNotAutoConfiguredWarningTest&tests.sortField=FLAKY]
> and 78% of the time when full build played with -T1C
> {noformat}
> org.opentest4j.AssertionFailedError: [Property not auto-configured:
> camel.aiObservability.enable=false] ==> expected: <true> but was: <false>
> at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:232)
> at
> org.apache.camel.main.MainNotAutoConfiguredWarningTest.testNoWarningsForValidConfiguration(MainNotAutoConfiguredWarningTest.java:108)
>
> {noformat}
> {noformat}
> org.opentest4j.AssertionFailedError: [Property not auto-configured:
> camel.aiObservability.enable=true, Property not auto-configured:
> camel.rest.contxtPath=/api, Property not auto-configured:
> camel.rest.password=xxxxxx] ==> expected: <2> but was: <3>
> at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:601)
> at
> org.apache.camel.main.MainNotAutoConfiguredWarningTest.testTypoIsLogged(MainNotAutoConfiguredWarningTest.java:84)
>
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)