[ 
https://issues.apache.org/jira/browse/CAMEL-26374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aurélien Pupier resolved CAMEL-26374.
-------------------------------------
    Fix Version/s: 4.24.0
       Resolution: Fixed

it wasn't a flaky test but a real failure already fixed 
https://github.com/apache/camel/commit/ac95735f0fc946257b717a96cbb71a1aa9a8ccda

> Fix flaky test FileProducerMapBodyTest
> --------------------------------------
>
>                 Key: CAMEL-26374
>                 URL: https://issues.apache.org/jira/browse/CAMEL-26374
>             Project: Camel
>          Issue Type: Test
>          Components: camel-file
>    Affects Versions: 4.24.0
>            Reporter: Aurélien Pupier
>            Priority: Major
>             Fix For: 4.24.0
>
>
> the test was added [10 days ago but already failed 8 
> times|https://develocity.apache.org/scans/tests?search.relativeStartTime=P28D&search.rootProjectNames=camel&search.tags=main&search.timeZoneId=Europe%2FParis&search.usernames=jenkins&tests.container=org.apache.camel.component.file.FileProducerMapBodyTest&tests.test=testListBodyToACsvFileWithCharset]
> {noformat}
> org.opentest4j.AssertionFailedError: Cannot store file: 
> /tmp/junit-694981422602589659/lines.csv: No body available of type: 
> java.io.InputStream but has type: java.util.ImmutableCollections.List12 on: 
> Message (the body is a List, which is not file content: marshal it first 
> (marshal: csv, for the file name lines.csv), or set the body to the text). 
> Exchange[] ==> expected: <true> but was: <false>  
>       at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:232)     
>       at 
> org.apache.camel.component.file.FileProducerMapBodyTest.testListBodyToACsvFileWithCharset(FileProducerMapBodyTest.java:64)
>    
> {noformat}



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to