Author: cmueller
Date: Fri Mar 22 08:52:12 2013
New Revision: 1459669

URL: http://svn.apache.org/r1459669
Log:
fixed unit test which fails from time to time

Modified:
    
camel/branches/camel-2.10.x/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionTest.java

Modified: 
camel/branches/camel-2.10.x/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionTest.java
URL: 
http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionTest.java?rev=1459669&r1=1459668&r2=1459669&view=diff
==============================================================================
--- 
camel/branches/camel-2.10.x/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionTest.java
 (original)
+++ 
camel/branches/camel-2.10.x/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionTest.java
 Fri Mar 22 08:52:12 2013
@@ -45,6 +45,7 @@ public class HttpNoConnectionTest extend
         String url = "http4://" + getHostName() + ":" + getPort() + "/search";
         // stop server so there are no connection
         localServer.stop();
+        localServer.awaitTermination(1000);
 
         Exchange reply = template.request(url, null);
         Exception e = reply.getException();


Reply via email to