You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2011/09/15 10:44:53 UTC
svn commit: r1171006 -
/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/StorePerDestinationTest.java
Author: gtully
Date: Thu Sep 15 08:44:52 2011
New Revision: 1171006
URL: http://svn.apache.org/viewvc?rev=1171006&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-2922 - give test scenario more time for hudson slow disks
Modified:
activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/StorePerDestinationTest.java
Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/StorePerDestinationTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/StorePerDestinationTest.java?rev=1171006&r1=1171005&r2=1171006&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/StorePerDestinationTest.java (original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/StorePerDestinationTest.java Thu Sep 15 08:44:52 2011
@@ -49,7 +49,7 @@ import static org.junit.Assert.assertTru
public class StorePerDestinationTest {
static final Logger LOG = LoggerFactory.getLogger(StorePerDestinationTest.class);
final static int maxFileLength = 1024*100;
- final static int numToSend = 10000;
+ final static int numToSend = 5000;
final Vector<Throwable> exceptions = new Vector<Throwable>();
BrokerService brokerService;
@@ -213,7 +213,7 @@ public class StorePerDestinationTest {
});
executorService.shutdown();
- assertTrue("consumers executor finished on time", executorService.awaitTermination(60, TimeUnit.SECONDS));
+ assertTrue("consumers executor finished on time", executorService.awaitTermination(5*60, TimeUnit.SECONDS));
final SystemUsage usage = brokerService.getSystemUsage();
assertTrue("Store is not hogged", Wait.waitFor(new Wait.Condition() {