[CalendarServer-changes] [8021] CalendarServer/trunk/contrib/performance/loadtest/profiles.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 25 20:44:20 PDT 2011


Revision: 8021
          http://trac.macosforge.org/projects/calendarserver/changeset/8021
Author:   sagen at apple.com
Date:     2011-08-25 20:44:19 -0700 (Thu, 25 Aug 2011)
Log Message:
-----------
Response is actually in passthrough.value.

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

Modified: CalendarServer/trunk/contrib/performance/loadtest/profiles.py
===================================================================
--- CalendarServer/trunk/contrib/performance/loadtest/profiles.py	2011-08-26 01:22:23 UTC (rev 8020)
+++ CalendarServer/trunk/contrib/performance/loadtest/profiles.py	2011-08-26 03:44:19 UTC (rev 8021)
@@ -96,7 +96,7 @@
             success = not isinstance(passthrough, Failure)
             if not success:
                 passthrough.trap(IncorrectResponseCode)
-                passthrough = passthrough.response
+                passthrough = passthrough.value.response
             after = self._reactor.seconds()
             msg(type="operation", phase="end", duration=after - before,
                 user=self._client.record.uid, label=label, success=success)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110825/53dcf65f/attachment-0001.html>


More information about the calendarserver-changes mailing list