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

source_changes at macosforge.org source_changes at macosforge.org
Mon Jun 13 11:00:44 PDT 2011


Revision: 7580
          http://trac.macosforge.org/projects/calendarserver/changeset/7580
Author:   exarkun at twistedmatrix.com
Date:     2011-06-13 11:00:44 -0700 (Mon, 13 Jun 2011)
Log Message:
-----------
Handle the case where we run out of events on a calendar _and_ we run out of calendars - just abandon the invitation attempt.

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-06-13 17:56:16 UTC (rev 7579)
+++ CalendarServer/trunk/contrib/performance/loadtest/profiles.py	2011-06-13 18:00:44 UTC (rev 7580)
@@ -229,8 +229,8 @@
                     lambda reason: reason.trap(CannotAddAttendee))
                 return self._newOperation("invite", d)
 
-            # Oops, no events to play with.
-            return succeed(None)
+        # Oops, either no events or no calendars to play with.
+        return succeed(None)
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110613/1d880106/attachment.html>


More information about the calendarserver-changes mailing list