Aurélien Pupier created CAMEL-27593:
---------------------------------------
Summary: Fix flaky test AWS2S3StreamUploadStopStartTest
Key: CAMEL-27593
URL: https://issues.apache.org/jira/browse/CAMEL-27593
Project: Camel
Issue Type: Test
Components: camel-aws2-s3
Affects Versions: 4.24.0
Reporter: Aurélien Pupier
the test was added yesterday (26th November), i[t has failed 13% of the time
and was flaky 21% of the
time|https://develocity.apache.org/scans/tests?search.rootProjectNames=camel&search.tags=main&search.timeZoneId=Europe%2FParis&tests.container=*AWS2S3StreamUploadStopStartTest]
{noformat}
org.opentest4j.AssertionFailedError: the stop ends the timeout task ==>
expected: <[]> but was: <[Thread[#253,Camel (camel-124) thread #47 -
S3_Streaming_Upload_Timeout_Checker,5,main]]>
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1210)
at
org.apache.camel.component.aws2.s3.stream.AWS2S3StreamUploadStopStartTest.aStopThatFailsOnS3StopsTheTimeoutTask(AWS2S3StreamUploadStopStartTest.java:198)
{noformat}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)