Author: davsclaus
Date: Mon Apr 7 10:13:57 2008
New Revision: 645621
URL: http://svn.apache.org/viewvc?rev=645621&view=rev
Log:
Trying to fix failing test on Bamboo that passes locally
Modified:
activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToAsciiFileNoBodyConversionTest.java
Modified:
activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToAsciiFileNoBodyConversionTest.java
URL:
http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToAsciiFileNoBodyConversionTest.java?rev=645621&r1=645620&r2=645621&view=diff
==============================================================================
---
activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToAsciiFileNoBodyConversionTest.java
(original)
+++
activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToAsciiFileNoBodyConversionTest.java
Mon Apr 7 10:13:57 2008
@@ -31,8 +31,8 @@
*/
public class FromFtpToAsciiFileNoBodyConversionTest extends
FtpServerTestSupport {
- private String port = "20016";
- private String ftpUrl = "ftp://[EMAIL PROTECTED]:" + port +
"/tmp6/camel?password=admin&binary=false";
+ private String port = "20012";
+ private String ftpUrl = "ftp://[EMAIL PROTECTED]:" + port +
"/tmp5/camel?password=admin&binary=false";
public void testFromFtpToAsciiFileNoBodyConversion() throws Exception {
@@ -44,7 +44,7 @@
Thread.sleep(1000);
// assert the file
- File file = new File("target/ftptest/helloascii.txt");
+ File file = new File("target/ftptest/ascii.txt");
assertTrue("The ASCII file should exists", file.exists());
assertTrue("File size wrong", file.length() > 10);
@@ -68,7 +68,7 @@
Endpoint endpoint = context.getEndpoint(ftpUrl);
Exchange exchange = endpoint.createExchange();
exchange.getIn().setBody("Hello ASCII from FTPServer");
- exchange.getIn().setHeader(FileComponent.HEADER_FILE_NAME,
"helloascii.txt");
+ exchange.getIn().setHeader(FileComponent.HEADER_FILE_NAME,
"ascii.txt");
Producer producer = endpoint.createProducer();
producer.start();
producer.process(exchange);