camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r792461 - /camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpReconnectAttemptServerStoppedTest.java
Date Thu, 09 Jul 2009 09:03:09 GMT
Author: davsclaus
Date: Thu Jul  9 09:03:09 2009
New Revision: 792461

URL: http://svn.apache.org/viewvc?rev=792461&view=rev
Log:
Fixed unit test reported by TC

Modified:
    camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpReconnectAttemptServerStoppedTest.java

Modified: camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpReconnectAttemptServerStoppedTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpReconnectAttemptServerStoppedTest.java?rev=792461&r1=792460&r2=792461&view=diff
==============================================================================
--- camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpReconnectAttemptServerStoppedTest.java
(original)
+++ camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpReconnectAttemptServerStoppedTest.java
Thu Jul  9 09:03:09 2009
@@ -27,7 +27,7 @@
 public class FtpReconnectAttemptServerStoppedTest extends FtpServerTestSupport {
 
     private String getFtpUrl() {
-        return "ftp://admin@localhost:" + getPort() + "/reconnect?password=admin&maximumReconnectAttempts=2&reconnectDelay=500";
+        return "ftp://admin@localhost:" + getPort() + "/reconnect?password=admin&maximumReconnectAttempts=2&reconnectDelay=500&delete=true";
     }
 
     @Override
@@ -52,12 +52,12 @@
 
         assertMockEndpointsSatisfied();
 
-        // resume the server so we can connect
-        ftpServer.resume();
-
         mock.reset();
         mock.expectedMessageCount(1);
 
+        // resume the server so we can connect
+        ftpServer.resume();
+
         assertMockEndpointsSatisfied();
     }
 



Mime
View raw message