camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r894562 - in /camel/trunk: camel-core/src/test/java/org/apache/camel/processor/ShutdownDeferTest.java components/camel-spring/src/test/resources/org/apache/camel/spring/processor/ShutdownDeferTest.xml
Date Wed, 30 Dec 2009 08:01:44 GMT
Author: ningjiang
Date: Wed Dec 30 08:01:44 2009
New Revision: 894562

URL: http://svn.apache.org/viewvc?rev=894562&view=rev
Log:
Try to fix the test failure of SpringShutdownDeferTest

Modified:
    camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ShutdownDeferTest.java
    camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/ShutdownDeferTest.xml

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ShutdownDeferTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ShutdownDeferTest.java?rev=894562&r1=894561&r2=894562&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ShutdownDeferTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ShutdownDeferTest.java
Wed Dec 30 08:01:44 2009
@@ -32,7 +32,7 @@
 
         MockEndpoint bar = getMockEndpoint("mock:bar");
         bar.expectedMinimumMessageCount(1);
-        bar.setResultWaitTime(3000);
+        bar.setResultWaitTime(1000);
 
         template.sendBody("seda:foo", "A");
         template.sendBody("seda:foo", "B");
@@ -59,7 +59,7 @@
             public void configure() throws Exception {
                 from("seda:foo")
                     .startupOrder(1)
-                    .delay(1000).to("file://target/deferred");
+                    .delay(500).to("file://target/deferred");
 
                 // use file component to transfer files from route 1 -> route 2 as it
                 // will normally suspend, but by deferring this we can let route 1

Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/ShutdownDeferTest.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/ShutdownDeferTest.xml?rev=894562&r1=894561&r2=894562&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/ShutdownDeferTest.xml
(original)
+++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/ShutdownDeferTest.xml
Wed Dec 30 08:01:44 2009
@@ -26,7 +26,7 @@
     <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
         <route startupOrder="1">
             <from uri="seda:foo"/>
-            <delay><constant>1000</constant></delay>
+            <delay><constant>500</constant></delay>
             <to uri="file://target/deferred"/>
         </route>
 



Mime
View raw message