summaryrefslogtreecommitdiff
path: root/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
commit93e7f636f8b4fb184362c145f9162afeb704d9bf (patch)
treeb68aac6c3bb4d0cd35b4b25d1df6214b125a485f /java/perftests/src/test
parentb7a6af9fe29de202fe1e88fe4bb13188d78b4383 (diff)
downloadqpid-python-93e7f636f8b4fb184362c145f9162afeb704d9bf.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/qpid@502576 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/perftests/src/test')
-rw-r--r--java/perftests/src/test/java/org/apache/qpid/ping/PingAsyncTestPerf.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/perftests/src/test/java/org/apache/qpid/ping/PingAsyncTestPerf.java b/java/perftests/src/test/java/org/apache/qpid/ping/PingAsyncTestPerf.java
index e10e6353b7..27de27faf3 100644
--- a/java/perftests/src/test/java/org/apache/qpid/ping/PingAsyncTestPerf.java
+++ b/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.