[CalendarServer-changes] [9307] CalendarServer/trunk/contrib/performance/loadtest

source_changes at macosforge.org source_changes at macosforge.org
Tue May 29 09:21:12 PDT 2012


Revision: 9307
          http://trac.macosforge.org/projects/calendarserver/changeset/9307
Author:   cdaboo at apple.com
Date:     2012-05-29 09:21:12 -0700 (Tue, 29 May 2012)
Log Message:
-----------
Missed these changes.

Modified Paths:
--------------
    CalendarServer/trunk/contrib/performance/loadtest/population.py
    CalendarServer/trunk/contrib/performance/loadtest/profiles.py

Modified: CalendarServer/trunk/contrib/performance/loadtest/population.py
===================================================================
--- CalendarServer/trunk/contrib/performance/loadtest/population.py	2012-05-29 15:25:50 UTC (rev 9306)
+++ CalendarServer/trunk/contrib/performance/loadtest/population.py	2012-05-29 16:21:12 UTC (rev 9307)
@@ -367,7 +367,7 @@
 
         # Load parameters from config 
         if "thresholdsPath" in params:
-            jsondata = json.load(open(params["thresholds"]))
+            jsondata = json.load(open(params["thresholdsPath"]))
         if "thresholds" in params:
             jsondata = params["thresholds"]
         else:

Modified: CalendarServer/trunk/contrib/performance/loadtest/profiles.py
===================================================================
--- CalendarServer/trunk/contrib/performance/loadtest/profiles.py	2012-05-29 15:25:50 UTC (rev 9306)
+++ CalendarServer/trunk/contrib/performance/loadtest/profiles.py	2012-05-29 16:21:12 UTC (rev 9307)
@@ -704,7 +704,7 @@
 
     # the response time thresholds to display together with failing % count threshold
     _thresholds_default = {
-        "requests":{
+        "operations":{
             "limits":     [   0.1,   0.5,   1.0,   3.0,   5.0,  10.0,  30.0],
             "thresholds":{
                 "default":[ 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0],
@@ -737,7 +737,7 @@
         
         # Load parameters from config 
         if "thresholdsPath" in params:
-            jsondata = json.load(open(params["thresholds"]))
+            jsondata = json.load(open(params["thresholdsPath"]))
         if "thresholds" in params:
             jsondata = params["thresholds"]
         else:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120529/443096d0/attachment.html>


More information about the calendarserver-changes mailing list