camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmuel...@apache.org
Subject svn commit: r1459666 - /camel/trunk/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionTest.java
Date Fri, 22 Mar 2013 08:48:15 GMT
Author: cmueller
Date: Fri Mar 22 08:48:14 2013
New Revision: 1459666

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

Modified:
    camel/trunk/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionTest.java

Modified: camel/trunk/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionTest.java?rev=1459666&r1=1459665&r2=1459666&view=diff
==============================================================================
--- camel/trunk/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionTest.java
(original)
+++ camel/trunk/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionTest.java
Fri Mar 22 08:48:14 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();



Mime
View raw message