[CalendarServer-changes] [7785] CalendarServer/trunk/contrib/performance/benchmarks/vfreebusy.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Jul 13 13:02:38 PDT 2011


Revision: 7785
          http://trac.macosforge.org/projects/calendarserver/changeset/7785
Author:   exarkun at twistedmatrix.com
Date:     2011-07-13 13:02:37 -0700 (Wed, 13 Jul 2011)
Log Message:
-----------
always place the event in the middle of the day, so timezones don't mess with it so much

Modified Paths:
--------------
    CalendarServer/trunk/contrib/performance/benchmarks/vfreebusy.py

Modified: CalendarServer/trunk/contrib/performance/benchmarks/vfreebusy.py
===================================================================
--- CalendarServer/trunk/contrib/performance/benchmarks/vfreebusy.py	2011-07-13 18:32:39 UTC (rev 7784)
+++ CalendarServer/trunk/contrib/performance/benchmarks/vfreebusy.py	2011-07-13 20:02:37 UTC (rev 7785)
@@ -136,7 +136,7 @@
         agent, host, port, user, password, root, principal, calendar)
 
     base = "/calendars/users/%s/%s/foo-%%d.ics" % (user, calendar)
-    baseTime = datetime.now().replace(minute=15, second=0, microsecond=0)
+    baseTime = datetime.now().replace(hour=12, minute=15, second=0, microsecond=0)
     for i, cal in enumerate(makeEvents(baseTime, events)):
         yield account.writeData(base % (i,), cal, "text/calendar")
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110713/5fe3cdfd/attachment.html>


More information about the calendarserver-changes mailing list