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:09:51 UTC
svn commit: r1409399 - in /camel/branches/camel-2.10.x: ./
components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionRedeliveryTest.java
Author: davsclaus
Date: Wed Nov 14 21:09:50 2012
New Revision: 1409399
URL: http://svn.apache.org/viewvc?rev=1409399&view=rev
Log:
Fixed test
Modified:
camel/branches/camel-2.10.x/ (props changed)
camel/branches/camel-2.10.x/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionRedeliveryTest.java
Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
Merged /camel/trunk:r1409398
Propchange: camel/branches/camel-2.10.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified: camel/branches/camel-2.10.x/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionRedeliveryTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionRedeliveryTest.java?rev=1409399&r1=1409398&r2=1409399&view=diff
==============================================================================
--- camel/branches/camel-2.10.x/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionRedeliveryTest.java (original)
+++ camel/branches/camel-2.10.x/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpNoConnectionRedeliveryTest.java Wed Nov 14 21:09:50 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());