incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wso...@apache.org
Subject svn commit: r754545 - /incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java
Date Sat, 14 Mar 2009 22:38:40 GMT
Author: wsobel
Date: Sat Mar 14 22:38:39 2009
New Revision: 754545

URL: http://svn.apache.org/viewvc?rev=754545&view=rev
Log:
Fix for OLIO-75: Moved the count outside of the can attend so event images are counted properly

Modified:
    incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java

Modified: incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java
URL: http://svn.apache.org/viewvc/incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java?rev=754545&r1=754544&r2=754545&view=diff
==============================================================================
--- incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java
(original)
+++ incubator/olio/workload/rails/trunk/src/org/apache/olio/workload/driver/UIDriver.java
Sat Mar 14 22:38:39 2009
@@ -651,6 +651,8 @@
         Set<String> images = parseImages(responseBuffer);
         loadStatics(eventDetailStatics);
         loadImages(images);
+        if (ctx.isTxSteadyState())
+	    driverMetrics.eventDetailImages += images.size();
         if (canAddAttendee) {
             // 10% of the time we can add ourselves, we will.
             int card = random.random(0, 9);
@@ -661,8 +663,6 @@
             }
             if (ctx.isTxSteadyState())
                 ++driverMetrics.addAttendeeReadyCount;
-                driverMetrics.eventDetailImages += images.size();
-
         }
     }
 



Mime
View raw message