From c4aae53139eac94affc7f13fbbda628dbb8012ca Mon Sep 17 00:00:00 2001 From: Hadrian Zbarcea Date: Tue, 29 Apr 2008 22:46:39 +0000 Subject: [PATCH] Fix typos in tests. git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652181 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/activemq/perf/SimpleDurableTopicNetworkTest.java | 2 +- .../org/apache/activemq/perf/SimpleDurableTopicTest.java | 2 +- .../test/java/org/apache/activemq/perf/SimpleTopicTest.java | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicNetworkTest.java b/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicNetworkTest.java index 996d2d252a..c4fd892253 100644 --- a/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicNetworkTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicNetworkTest.java @@ -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(); } diff --git a/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicTest.java b/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicTest.java index 6d1239f6c9..4b1cd95cf5 100644 --- a/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/perf/SimpleDurableTopicTest.java @@ -30,7 +30,7 @@ public class SimpleDurableTopicTest extends SimpleTopicTest { numberOfDestinations=1; numberOfConsumers = 4; numberofProducers = 1; - samepleCount=1000; + sampleCount=1000; playloadSize = 1024; super.setUp(); } diff --git a/activemq-core/src/test/java/org/apache/activemq/perf/SimpleTopicTest.java b/activemq-core/src/test/java/org/apache/activemq/perf/SimpleTopicTest.java index 85c6ef38b4..35e60cb171 100644 --- a/activemq-core/src/test/java/org/apache/activemq/perf/SimpleTopicTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/perf/SimpleTopicTest.java @@ -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();