You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2013/01/07 22:00:12 UTC

svn commit: r1430005 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/LargeQueueSparseDeleteTest.java

Author: tabish
Date: Mon Jan  7 21:00:12 2013
New Revision: 1430005

URL: http://svn.apache.org/viewvc?rev=1430005&view=rev
Log:
test can fail if the machine is bit to slow, give a bit more grace to the test timeouts. 

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/LargeQueueSparseDeleteTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/LargeQueueSparseDeleteTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/LargeQueueSparseDeleteTest.java?rev=1430005&r1=1430004&r2=1430005&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/LargeQueueSparseDeleteTest.java (original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/LargeQueueSparseDeleteTest.java Mon Jan  7 21:00:12 2013
@@ -59,7 +59,7 @@ public class LargeQueueSparseDeleteTest 
         final int QUEUE_SIZE = 30000;
         final String MOVE_TO_DESTINATION_NAME = getDestinationString()
                 + ".dest";
-        final long TEST_TIMEOUT = 8000;
+        final long TEST_TIMEOUT = 10000;
 
         // Populate a test queue with uniquely-identifiable messages.
         Connection conn = createConnection();
@@ -108,7 +108,7 @@ public class LargeQueueSparseDeleteTest 
         final int QUEUE_SIZE = 30000;
         final String MOVE_TO_DESTINATION_NAME = getDestinationString()
                 + ".dest";
-        final long TEST_TIMEOUT = 8000;
+        final long TEST_TIMEOUT = 10000;
 
         // Populate a test queue with uniquely-identifiable messages.
         Connection conn = createConnection();
@@ -154,7 +154,7 @@ public class LargeQueueSparseDeleteTest 
 
     public void testRemoveMessages() throws Exception {
         final int QUEUE_SIZE = 30000;
-        final long TEST_TIMEOUT = 8000;
+        final long TEST_TIMEOUT = 10000;
 
         // Populate a test queue with uniquely-identifiable messages.
         Connection conn = createConnection();