camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hadr...@apache.org
Subject svn commit: r1220606 - /camel/trunk/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzRouteRestartTest.java
Date Mon, 19 Dec 2011 04:17:46 GMT
Author: hadrian
Date: Mon Dec 19 04:17:46 2011
New Revision: 1220606

URL: http://svn.apache.org/viewvc?rev=1220606&view=rev
Log:
CAMEL-4794. Test demonstrating the problem

Modified:
    camel/trunk/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzRouteRestartTest.java

Modified: camel/trunk/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzRouteRestartTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzRouteRestartTest.java?rev=1220606&r1=1220605&r2=1220606&view=diff
==============================================================================
--- camel/trunk/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzRouteRestartTest.java
(original)
+++ camel/trunk/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzRouteRestartTest.java
Mon Dec 19 04:17:46 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();



Mime
View raw message