Aurélien Pupier created CAMEL-25786:
---------------------------------------
Summary: Fix flaky test FileLockClusterTaskExecutorTest
Key: CAMEL-25786
URL: https://issues.apache.org/jira/browse/CAMEL-25786
Project: Camel
Issue Type: Test
Reporter: Aurélien Pupier
[failing more with parallel build -T1C but also on
main|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=camel&search.timeZoneId=Europe%2FParis&tests.container=org.apache.camel.component.file.cluster.FileLockClusterTaskExecutorTest]
{noformat}
org.opentest4j.AssertionFailedError: Expected
java.util.concurrent.TimeoutException to be thrown, but nothing was thrown.
at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3234)
at
org.apache.camel.component.file.cluster.FileLockClusterTaskExecutorTest.runTaskWithMaxAttemptsExceeded(FileLockClusterTaskExecutorTest.java:63)
{noformat}
{noformat}
org.opentest4j.AssertionFailedError: expected: <3> but was: <2>
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:569)
at
org.apache.camel.component.file.cluster.FileLockClusterTaskExecutorTest.runTaskWithMaxAttemptsNotExceeded(FileLockClusterTaskExecutorTest.java:110)
{noformat}
{noformat}
org.opentest4j.AssertionFailedError: expected: <3> but was: <1>
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:569)
at
org.apache.camel.component.file.cluster.FileLockClusterTaskExecutorTest.runTaskWithMaxAttemptsNotExceeded(FileLockClusterTaskExecutorTest.java:110)
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)