Aurélien Pupier created CAMEL-25191:
---------------------------------------
Summary: 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
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]
{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)