svn commit: r713314 - /activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/component/dataset/DataSetSedaTest.java

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r713314 - /activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/component/dataset/DataSetSedaTest.java

ningjiang
Author: ningjiang
Date: Wed Nov 12 00:24:21 2008
New Revision: 713314

URL: http://svn.apache.org/viewvc?rev=713314&view=rev
Log:
CAMEL-1080 try to fix the DataSerSedaTest failure in a slower box

Modified:
    activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/component/dataset/DataSetSedaTest.java

Modified: activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/component/dataset/DataSetSedaTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/component/dataset/DataSetSedaTest.java?rev=713314&r1=713313&r2=713314&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/component/dataset/DataSetSedaTest.java (original)
+++ activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/component/dataset/DataSetSedaTest.java Wed Nov 12 00:24:21 2008
@@ -26,7 +26,7 @@
  * Unit test to demonstrate high concurrency with seda. Offspring by CAMEL-605.
  */
 public class DataSetSedaTest extends ContextTestSupport {
-    private SimpleDataSet dataSet = new SimpleDataSet(500);
+    private SimpleDataSet dataSet = new SimpleDataSet(200);
 
     public void test() throws Exception {
         MockEndpoint endpoint = getMockEndpoint("dataset:foo");
@@ -46,8 +46,8 @@
     protected RouteBuilder createRouteBuilder() throws Exception {
         return new RouteBuilder() {
             public void configure() throws Exception {
-                from("dataset:foo").to("seda:queue:test");
-                from("seda:queue:test").to("dataset:foo");
+                from("dataset:foo").to("seda:queue:test?size=100");
+                from("seda:queue:test?size=100").to("dataset:foo");
             }
         };
     }