camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r618725 - in /activemq/camel/trunk/tests/camel-itest: pom.xml src/test/java/org/apache/camel/itest/jms/JmsMediumQueuePerformanceTest.java
Date Tue, 05 Feb 2008 18:06:13 GMT
Author: jstrachan
Date: Tue Feb  5 10:06:05 2008
New Revision: 618725

URL: http://svn.apache.org/viewvc?rev=618725&view=rev
Log:
Really fixing the broken test case :)

Modified:
    activemq/camel/trunk/tests/camel-itest/pom.xml
    activemq/camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/JmsMediumQueuePerformanceTest.java

Modified: activemq/camel/trunk/tests/camel-itest/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/tests/camel-itest/pom.xml?rev=618725&r1=618724&r2=618725&view=diff
==============================================================================
--- activemq/camel/trunk/tests/camel-itest/pom.xml (original)
+++ activemq/camel/trunk/tests/camel-itest/pom.xml Tue Feb  5 10:06:05 2008
@@ -117,4 +117,19 @@
       <artifactId>log4j</artifactId>
     </dependency>
   </dependencies>
+
+
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <forkMode>pertest</forkMode>
+        </configuration>
+      </plugin>
+
+    </plugins>
+  </build>
+
 </project>

Modified: activemq/camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/JmsMediumQueuePerformanceTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/JmsMediumQueuePerformanceTest.java?rev=618725&r1=618724&r2=618725&view=diff
==============================================================================
--- activemq/camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/JmsMediumQueuePerformanceTest.java
(original)
+++ activemq/camel/trunk/tests/camel-itest/src/test/java/org/apache/camel/itest/jms/JmsMediumQueuePerformanceTest.java
Tue Feb  5 10:06:05 2008
@@ -26,13 +26,13 @@
     @Override
     public void testSendingAndReceivingMessages() throws Exception {
         int expected = mediumQueueCount + messageCount;
-        setExpectedMessageCount(messageCount);
+        setExpectedMessageCount(expected);
 
         System.out.println("Sending " + mediumQueueCount + " messages first");
         sendLoop(0, mediumQueueCount);
         System.out.println("Sent!");
 
-        Thread.sleep(20000);
+        Thread.sleep(2000);
 
         // TODO now start the route!
         



Mime
View raw message