[CalendarServer-changes] [15337] CalendarServer/trunk/contrib/performance/loadtest/ical.py
source_changes at macosforge.org
source_changes at macosforge.org
Thu Nov 19 12:00:29 PST 2015
Revision: 15337
http://trac.calendarserver.org//changeset/15337
Author: sagen at apple.com
Date: 2015-11-19 12:00:29 -0800 (Thu, 19 Nov 2015)
Log Message:
-----------
When resetting a sim client, also do the refresh right away so the client is not in an incomplete state.
Modified Paths:
--------------
CalendarServer/trunk/contrib/performance/loadtest/ical.py
Modified: CalendarServer/trunk/contrib/performance/loadtest/ical.py
===================================================================
--- CalendarServer/trunk/contrib/performance/loadtest/ical.py 2015-11-19 02:42:53 UTC (rev 15336)
+++ CalendarServer/trunk/contrib/performance/loadtest/ical.py 2015-11-19 20:00:29 UTC (rev 15337)
@@ -1589,11 +1589,13 @@
self._calendars[calendar.url] = calendar
+ @inlineCallbacks
def reset(self):
path = self.serializeLocation()
if path is not None and os.path.exists(path):
shutil.rmtree(path)
- return self.startup()
+ yield self.startup()
+ yield self._checkCalendarsForEvents(self.calendarHomeHref)
def _makeSelfAttendee(self):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20151119/0e4574e2/attachment.html>
More information about the calendarserver-changes
mailing list