servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r799291 - in /servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel: JbiInOnlyPropertiesPipelineTest.java JbiInOnlyTest.java
Date Thu, 30 Jul 2009 14:38:52 GMT
Author: gertv
Date: Thu Jul 30 14:38:51 2009
New Revision: 799291

URL: http://svn.apache.org/viewvc?rev=799291&view=rev
Log:
Fix test failures on slower CI build machines

Modified:
    servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel/JbiInOnlyPropertiesPipelineTest.java
    servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel/JbiInOnlyTest.java

Modified: servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel/JbiInOnlyPropertiesPipelineTest.java
URL: http://svn.apache.org/viewvc/servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel/JbiInOnlyPropertiesPipelineTest.java?rev=799291&r1=799290&r2=799291&view=diff
==============================================================================
--- servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel/JbiInOnlyPropertiesPipelineTest.java
(original)
+++ servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel/JbiInOnlyPropertiesPipelineTest.java
Thu Jul 30 14:38:51 2009
@@ -52,7 +52,7 @@
         exchange.getInMessage().setContent(new StringSource(MESSAGE));
         exchange.getInMessage().setProperty(HEADER_ORIGINAL, "my-original-header-value");
         client.send(exchange);
-        client.receive(1000);
+        assertNotNull("Expecting to receive a DONE/ERROR MessageExchange", client.receive(20000));
         assertEquals(ExchangeStatus.DONE, exchange.getStatus());
         
         output.assertIsSatisfied();

Modified: servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel/JbiInOnlyTest.java
URL: http://svn.apache.org/viewvc/servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel/JbiInOnlyTest.java?rev=799291&r1=799290&r2=799291&view=diff
==============================================================================
--- servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel/JbiInOnlyTest.java
(original)
+++ servicemix/components/engines/servicemix-camel/trunk/src/test/java/org/apache/servicemix/camel/JbiInOnlyTest.java
Thu Jul 30 14:38:51 2009
@@ -48,7 +48,7 @@
         exchange.setService(new QName("urn:test", "in-only"));
         exchange.getInMessage().setContent(new StringSource(MESSAGE));
         client.send(exchange);
-        client.receive(1000);
+        assertNotNull("Expecting to receive a DONE/ERROR MessageExchange", client.receive(20000));
         assertEquals(ExchangeStatus.DONE, exchange.getStatus());
         done.assertIsSatisfied();
     }



Mime
View raw message