You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2008/05/16 09:34:35 UTC

svn commit: r656952 - /activemq/camel/trunk/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomEntryPollingConsumerTest.java

Author: davsclaus
Date: Fri May 16 00:34:35 2008
New Revision: 656952

URL: http://svn.apache.org/viewvc?rev=656952&view=rev
Log:
Fixed failing unit test on Bamboo

Modified:
    activemq/camel/trunk/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomEntryPollingConsumerTest.java

Modified: activemq/camel/trunk/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomEntryPollingConsumerTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomEntryPollingConsumerTest.java?rev=656952&r1=656951&r2=656952&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomEntryPollingConsumerTest.java (original)
+++ activemq/camel/trunk/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomEntryPollingConsumerTest.java Fri May 16 00:34:35 2008
@@ -39,7 +39,7 @@
 
     public void testResult3() throws Exception {
         MockEndpoint mock = getMockEndpoint("mock:result3");
-        mock.expectedMessageCount(4);
+        mock.expectedMessageCount(2);
         mock.assertIsSatisfied();
     }
 
@@ -50,7 +50,7 @@
 
                 from("atom:file:src/test/data/feed.atom?splitEntries=true&filter=false").to("mock:result2");
 
-                from("atom:file:src/test/data/feed.atom?splitEntries=true&filter=true&lastUpdate=2007-11-13T14:35:00").to("mock:result3");
+                from("atom:file:src/test/data/feed.atom?splitEntries=true&filter=true&lastUpdate=2007-11-13T23:59:00").to("mock:result3");
             }
         };
     }