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 2012/01/26 18:53:33 UTC
svn commit: r1236325 -
/camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/ThrottlerTest.scala
Author: hadrian
Date: Thu Jan 26 17:53:32 2012
New Revision: 1236325
URL: http://svn.apache.org/viewvc?rev=1236325&view=rev
Log:
Fix for test with intermittent timing related failures
Modified:
camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/ThrottlerTest.scala
Modified: camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/ThrottlerTest.scala
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/ThrottlerTest.scala?rev=1236325&r1=1236324&r2=1236325&view=diff
==============================================================================
--- camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/ThrottlerTest.scala (original)
+++ camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/ThrottlerTest.scala Thu Jan 26 17:53:32 2012
@@ -28,7 +28,7 @@ class ThrottlerTest extends ScalaTestSup
@Test
def testSimpleThrottler = {
"mock:a" expect { _.count = 3 }
- "mock:a" expect { _.setResultWaitTime(1000) }
+ "mock:a" expect { _.setResultWaitTime(1500) }
for (id <- 1 to 6) "seda:a" ! id
"mock:a" assert()
}
@@ -37,7 +37,7 @@ class ThrottlerTest extends ScalaTestSup
def testBlockThrottler = {
"mock:b" expect { _.count = 6 }
"mock:c" expect { _.count = 3 }
- "mock:c" expect { _.setResultWaitTime(1000) }
+ "mock:c" expect { _.setResultWaitTime(1500) }
for (id <- 1 to 6) "seda:b" ! id
"mock:b" assert()
}