camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hadr...@apache.org
Subject svn commit: r696916 - /activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDeleteNoWritePermissionTest.java
Date Fri, 19 Sep 2008 04:20:58 GMT
Author: hadrian
Date: Thu Sep 18 21:20:57 2008
New Revision: 696916

URL: http://svn.apache.org/viewvc?rev=696916&view=rev
Log:
Fix for failing test due to expected exception.

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

Modified: activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDeleteNoWritePermissionTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDeleteNoWritePermissionTest.java?rev=696916&r1=696915&r2=696916&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDeleteNoWritePermissionTest.java
(original)
+++ activemq/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDeleteNoWritePermissionTest.java
Thu Sep 18 21:20:57 2008
@@ -35,7 +35,12 @@
         consumer.start();
         Exchange out = consumer.receive(3000);
         assertNull("Should not get the file", out);
-        consumer.stop();
+        
+    	try {
+	        consumer.stop();
+    	} catch (FtpOperationFailedException fofe) {
+    		// expected, ignore
+    	}
     }
 
     public int getPort() {



Mime
View raw message