[
https://issues.apache.org/jira/browse/CAMEL-13167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Cosentino resolved CAMEL-13167.
--------------------------------------
Resolution: Fixed
> FileMEPInOutTest fails on case sensitive filesystem
> ---------------------------------------------------
>
> Key: CAMEL-13167
> URL: https://issues.apache.org/jira/browse/CAMEL-13167
> Project: Camel
> Issue Type: Bug
> Components: tests
> Affects Versions: 3.0.0
> Environment: Linux with case sensivite filesystem
> Reporter: Tapio Piironen
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: FileMepInOutTest-casefix.patch
>
>
> Test fails on case sensitive filesystem (using master branch, currenty
> camel3):
> camel/core/camel-core/src/test/java/org/apache/camel/component/file/FileMEPInOutTest.java
> fix diff:
> diff --git
> a/core/camel-core/src/test/java/org/apache/camel/component/file/FileMEPInOutTest.java
> b/core/camel-core/src/test/java/org/apache/ca
> mel/component/file/FileMEPInOutTest.java
> index 653eae88e32..3b73132791c 100644
> ---
> a/core/camel-core/src/test/java/org/apache/camel/component/file/FileMEPInOutTest.java
> +++
> b/core/camel-core/src/test/java/org/apache/camel/component/file/FileMEPInOutTest.java
> @@ -32,7 +32,7 @@ public class FileMEPInOutTest extends ContextTestSupport {
> MockEndpoint mock = getMockEndpoint("mock:result");
> mock.expectedMessageCount(1);
> mock.expectedBodiesReceived("Hello World");
> - mock.expectedFileExists("target/data/fileMEPInOutTest.txt", "Hello
> World");
> + mock.expectedFileExists("target/data/FileMEPInOutTest.txt", "Hello
> World");
> // request is InOut
> template.requestBodyAndHeader("direct:in", "Hello World",
> Exchange.FILE_NAME,
> @@ -51,4 +51,4 @@ public class FileMEPInOutTest extends ContextTestSupport {
> };
> }
> -}
> \ No newline at end of file
> +}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)