You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2012/11/14 22:08:50 UTC
svn commit: r1409398 -
/camel/trunk/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionRedeliveryTest.java
Author: davsclaus
Date: Wed Nov 14 21:08:49 2012
New Revision: 1409398
URL: http://svn.apache.org/viewvc?rev=1409398&view=rev
Log:
Fixed test
Modified:
camel/trunk/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionRedeliveryTest.java
Modified: camel/trunk/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionRedeliveryTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionRedeliveryTest.java?rev=1409398&r1=1409397&r2=1409398&view=diff
==============================================================================
--- camel/trunk/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionRedeliveryTest.java (original)
+++ camel/trunk/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionRedeliveryTest.java Wed Nov 14 21:08:49 2012
@@ -40,7 +40,9 @@ public class HttpNoConnectionRedeliveryT
@Test
public void httpConnectionNotOk() throws Exception {
// stop server so there are no connection
+ // and wait for it to terminate
localServer.stop();
+ localServer.awaitTermination(5000);
Exchange exchange = template.request("direct:start", null);
assertTrue(exchange.isFailed());