camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hadr...@apache.org
Subject svn commit: r1236325 - /camel/trunk/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/ThrottlerTest.scala
Date Thu, 26 Jan 2012 17:53:33 GMT
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()
   }



Mime
View raw message