fixing test for https://issues.apache.org/activemq/browse/AMQ-2303 - 200 consumers is too much for some linux machines, too many open files

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@790521 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2009-07-02 09:38:49 +00:00
parent 7da1e6eb80
commit 5a8d59d107
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ public class DurableConsumerTest extends TestCase {
Thread publisherThread = new Thread( new MessagePublisher() ); Thread publisherThread = new Thread( new MessagePublisher() );
publisherThread.start(); publisherThread.start();
for( int i = 0; i < 200; i++ ) { for( int i = 0; i < 100; i++ ) {
final int id = i; final int id = i;
Thread thread = new Thread( new Runnable() { Thread thread = new Thread( new Runnable() {