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 2009/06/13 08:49:36 UTC
svn commit: r784343 -
/camel/branches/camel-1.x/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomPollingLowDelayTest.java
Author: davsclaus
Date: Sat Jun 13 06:49:36 2009
New Revision: 784343
URL: http://svn.apache.org/viewvc?rev=784343&view=rev
Log:
Fixed unit test failing on some platforms reported by TC.
Modified:
camel/branches/camel-1.x/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomPollingLowDelayTest.java
Modified: camel/branches/camel-1.x/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomPollingLowDelayTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-1.x/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomPollingLowDelayTest.java?rev=784343&r1=784342&r2=784343&view=diff
==============================================================================
--- camel/branches/camel-1.x/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomPollingLowDelayTest.java (original)
+++ camel/branches/camel-1.x/components/camel-atom/src/test/java/org/apache/camel/component/atom/AtomPollingLowDelayTest.java Sat Jun 13 06:49:36 2009
@@ -28,7 +28,10 @@
public void testLowDelay() throws Exception {
MockEndpoint mock = getMockEndpoint("mock:result");
mock.expectedMessageCount(7);
- mock.setResultWaitTime(1000L);
+ // some servers such as Solaris is deadslow so we adjust the wait time to
+ // be 8 seconds for now. But it should be able to do it much faster for
+ // for instance 1-2 seconds.
+ mock.setResultWaitTime(8 * 1000L);
mock.assertIsSatisfied();
}