activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r476294 - /incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleTopicTest.java
Date Fri, 17 Nov 2006 20:10:35 GMT
Author: rajdavies
Date: Fri Nov 17 12:10:34 2006
New Revision: 476294

URL: http://svn.apache.org/viewvc?view=rev&rev=476294
Log:
sbe in dumpProducerRate()

Modified:
    incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleTopicTest.java

Modified: incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleTopicTest.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleTopicTest.java?view=diff&rev=476294&r1=476293&r2=476294
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleTopicTest.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/perf/SimpleTopicTest.java
Fri Nov 17 12:10:34 2006
@@ -164,7 +164,7 @@
         int totalCount=0;
         for(int i=0;i<producers.length;i++){
             totalRate+=producers[i].getRate().getRate();
-            totalCount+=consumers[i].getRate().getTotalCount();
+            totalCount+=producers[i].getRate().getTotalCount();
         }
         int avgRate = totalRate/producers.length;
         log.info("Avg producer rate = "+avgRate+" msg/sec | Total rate = "+totalRate+", sent
= "+totalCount);



Mime
View raw message