summaryrefslogtreecommitdiff
path: root/qpid/java/perftests/src/test
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2007-02-02 11:13:13 +0000
committerMartin Ritchie <ritchiem@apache.org>2007-02-02 11:13:13 +0000
commit77b10120d80bc774c55591872c88992acc3caee7 (patch)
tree6661d134f1cebf7b37347b86f03572ca63861750 /qpid/java/perftests/src/test
parentdfcd1b851b628f94f0436464d0027b7126278c04 (diff)
downloadqpid-python-77b10120d80bc774c55591872c88992acc3caee7.tar.gz
QPID-343 Performance test suite doesn't output missing message count on failure.
Updated PingAsyncTestPerf to output missing messsage count. Updated PingPongProducer so it doesn't use AMQShortStringx. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@502576 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/perftests/src/test')
-rw-r--r--qpid/java/perftests/src/test/java/org/apache/qpid/ping/PingAsyncTestPerf.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/perftests/src/test/java/org/apache/qpid/ping/PingAsyncTestPerf.java b/qpid/java/perftests/src/test/java/org/apache/qpid/ping/PingAsyncTestPerf.java
index e10e6353b7..27de27faf3 100644
--- a/qpid/java/perftests/src/test/java/org/apache/qpid/ping/PingAsyncTestPerf.java
+++ b/qpid/java/perftests/src/test/java/org/apache/qpid/ping/PingAsyncTestPerf.java
@@ -171,7 +171,7 @@ public class PingAsyncTestPerf extends PingTestPerf implements TimingControllerA
// Check that all the replies were received and log a fail if they were not.
if (numReplies < numPings)
{
- tc.completeTest(false, 0);
+ tc.completeTest(false, numPings - numReplies);
}
// Remove the chained message listener from the ping producer.