summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2007-11-13 00:14:13 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2007-11-13 00:14:13 +0000
commitf1aff365de18efc47b093a8556c81d8cfca8bf46 (patch)
treea7b9e9ad88b577f049f599dcef2ce444f6d44237
parentfeba9f15a20a50e54cd408ef48ae4242f6c7ac1b (diff)
downloadqpid-python-f1aff365de18efc47b093a8556c81d8cfca8bf46.tar.gz
modified to collect memory stats before the test.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@594360 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/MessageConsumerTest.java1
-rw-r--r--qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/MessageProducerTest.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/MessageConsumerTest.java b/qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/MessageConsumerTest.java
index 4d6923f0dd..e220aec9e1 100644
--- a/qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/MessageConsumerTest.java
+++ b/qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/MessageConsumerTest.java
@@ -68,6 +68,7 @@ public class MessageConsumerTest extends Options implements Runnable
{
boolean run = true;
_startTime = System.currentTimeMillis();
+ runReaper(false);
try
{
while(run)
diff --git a/qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/MessageProducerTest.java b/qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/MessageProducerTest.java
index b0caa45845..794031f346 100644
--- a/qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/MessageProducerTest.java
+++ b/qpid/java/perftests/src/main/java/org/apache/qpid/client/perf/MessageProducerTest.java
@@ -65,6 +65,7 @@ public class MessageProducerTest extends Options implements Runnable
{
boolean run = true;
_startTime = System.currentTimeMillis();
+ runReaper(false);
try
{
while(run)