Aurélien Pupier created CAMEL-25955:
---------------------------------------
Summary: Fix flaky test
AuthoringToolsTest.aWriteOfATemplateTheIntegrationDoesNotWatchIsAnsweredAtOnce
Key: CAMEL-25955
URL: https://issues.apache.org/jira/browse/CAMEL-25955
Project: Camel
Issue Type: Test
Components: camel-jbang
Affects Versions: 4.24.0
Reporter: Aurélien Pupier
[it has failed 1 time in 2 days of
existence|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.timeZoneId=Europe%2FParis&tests.container=org.apache.camel.dsl.jbang.core.commands.ai.AuthoringToolsTest&tests.test=aWriteOfATemplateTheIntegrationDoesNotWatchIsAnsweredAtOnce]
{noformat}
org.opentest4j.AssertionFailedError:
{"status":"created","file":"letter.ftl","directory":"\/tmp\/junit-864485814600220199","lines":1,"bytes":12,"reload":{"status":"unknown","message":"no
reload seen in the log within 8s: the integration may not run in dev mode, or
the file is not one it watches; camel_get_log shows what it
did"},"message":"Written; no reload seen in the log within 8s: the integration
may not run in dev mode, or the file is not one it watches; camel_get_log shows
what it did"} ==> expected: <null> but was: <{status=unknown, message=no reload
seen in the log within 8s: the integration may not run in dev mode, or the file
is not one it watches; camel_get_log shows what it did}>
at org.junit.jupiter.api.Assertions.assertNull(Assertions.java:317)
at
org.apache.camel.dsl.jbang.core.commands.ai.AuthoringToolsTest.aWriteOfATemplateTheIntegrationDoesNotWatchIsAnsweredAtOnce(AuthoringToolsTest.java:263)
{noformat}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)