activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r790521 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java
Date Thu, 02 Jul 2009 09:38:50 GMT
Author: dejanb
Date: Thu Jul  2 09:38:49 2009
New Revision: 790521

URL: http://svn.apache.org/viewvc?rev=790521&view=rev
Log:
fixing test for https://issues.apache.org/activemq/browse/AMQ-2303 - 200 consumers is too
much for some linux machines, too many open files

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java?rev=790521&r1=790520&r2=790521&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/bugs/DurableConsumerTest.java
Thu Jul  2 09:38:49 2009
@@ -174,7 +174,7 @@
     	Thread publisherThread = new Thread( new MessagePublisher() );
         publisherThread.start();
         
-        for( int i = 0; i < 200; i++ ) {
+        for( int i = 0; i < 100; i++ ) {
             
             final int id = i;
             Thread thread = new Thread( new Runnable() {



Mime
View raw message