You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ha...@apache.org on 2011/12/20 00:05:49 UTC
svn commit: r1220994 -
/camel/branches/camel-2.8.x/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzRouteRestartTest.java
Author: hadrian
Date: Mon Dec 19 23:05:49 2011
New Revision: 1220994
URL: http://svn.apache.org/viewvc?rev=1220994&view=rev
Log:
CAMEL-4794. Test demonstrating the problem
Modified:
camel/branches/camel-2.8.x/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzRouteRestartTest.java
Modified: camel/branches/camel-2.8.x/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzRouteRestartTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.8.x/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzRouteRestartTest.java?rev=1220994&r1=1220993&r2=1220994&view=diff
==============================================================================
--- camel/branches/camel-2.8.x/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzRouteRestartTest.java (original)
+++ camel/branches/camel-2.8.x/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzRouteRestartTest.java Mon Dec 19 23:05:49 2011
@@ -24,6 +24,7 @@ import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.test.junit4.CamelTestSupport;
+import org.junit.Ignore;
import org.junit.Test;
/**
@@ -32,13 +33,12 @@ import org.junit.Test;
public class QuartzRouteRestartTest extends CamelTestSupport {
@Test
+ @Ignore("CAMEL-4794")
public void testQuartzCronRoute() throws Exception {
MockEndpoint mock = getMockEndpoint("mock:result");
mock.setResultWaitTime(20000);
mock.expectedMinimumMessageCount(3);
- // the second message should have been skipped due to route being down for 7 sec
- // mock.message(1).arrives().between(9, 11).seconds().afterPrevious();
- // check if two messages came in short sequence
+ mock.message(1).arrives().between(9, 11).seconds().afterPrevious();
mock.message(2).arrives().between(4, 6).seconds().afterPrevious();
assertMockEndpointsSatisfied();