Fix typos in tests.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652181 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hadrian Zbarcea 2008-04-29 22:46:39 +00:00
parent 453d2a25f5
commit c4aae53139
3 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,7 @@ public class SimpleDurableTopicNetworkTest extends SimpleNetworkTest {
protected void setUp() throws Exception {
numberofProducers=1;
numberOfConsumers=1;
samepleCount=1000;
sampleCount=1000;
playloadSize = 1024;
super.setUp();
}

View File

@ -30,7 +30,7 @@ public class SimpleDurableTopicTest extends SimpleTopicTest {
numberOfDestinations=1;
numberOfConsumers = 4;
numberofProducers = 1;
samepleCount=1000;
sampleCount=1000;
playloadSize = 1024;
super.setUp();
}

View File

@ -44,7 +44,7 @@ public class SimpleTopicTest extends TestCase {
protected PerfProducer[] producers;
protected PerfConsumer[] consumers;
protected String destinationName = getClass().getName();
protected int samepleCount = 20;
protected int sampleCount = 20;
protected long sampleInternal = 10000;
protected int numberOfDestinations=1;
protected int numberOfConsumers = 1;
@ -156,8 +156,8 @@ public class SimpleTopicTest extends TestCase {
for (int i = 0; i < totalNumberOfProducers; i++) {
producers[i].start();
}
LOG.info("Sampling performance " + samepleCount + " times at a " + sampleInternal + " ms interval.");
for (int i = 0; i < samepleCount; i++) {
LOG.info("Sampling performance " + sampleCount + " times at a " + sampleInternal + " ms interval.");
for (int i = 0; i < sampleCount; i++) {
Thread.sleep(sampleInternal);
dumpProducerRate();
dumpConsumerRate();