Author: davsclaus Date: Tue Jan 12 08:04:01 2010 New Revision: 898218 URL: http://svn.apache.org/viewvc?rev=898218&view=rev Log: Fixed test on slower boxes
Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/ShutdownDeferTest.xml camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/ShutdownNotDeferTest.xml 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=898218&r1=898217&r2=898218&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 Tue Jan 12 08:04:01 2010 @@ -22,6 +22,11 @@ http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd "> + <bean id="shutdownStrategy" class="org.apache.camel.impl.DefaultShutdownStrategy"> + <!-- use 20 sec to give this unit test some time --> + <property name="timeout" value="20"/> + </bean> + <!-- START SNIPPET: e1 --> <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"> <route startupOrder="1"> Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/ShutdownNotDeferTest.xml URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/ShutdownNotDeferTest.xml?rev=898218&r1=898217&r2=898218&view=diff ============================================================================== --- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/ShutdownNotDeferTest.xml (original) +++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/ShutdownNotDeferTest.xml Tue Jan 12 08:04:01 2010 @@ -22,6 +22,11 @@ http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd "> + <bean id="shutdownStrategy" class="org.apache.camel.impl.DefaultShutdownStrategy"> + <!-- use 20 sec to give this unit test some time --> + <property name="timeout" value="20"/> + </bean> + <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"> <route startupOrder="1"> <from uri="seda:foo"/>