https://issues.apache.org/jira/browse/AMQ-2922 - give test scenario more time for hudson slow disks

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1171006 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2011-09-15 08:44:52 +00:00
parent 2f5ec047dd
commit 94de98a64c
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ import static org.junit.Assert.assertTrue;
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() {