[CalendarServer-changes] [13439] CalendarServer/trunk/calendarserver/tools/test/test_purge.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon May 5 07:35:04 PDT 2014
Revision: 13439
http://trac.calendarserver.org//changeset/13439
Author: cdaboo at apple.com
Date: 2014-05-05 07:35:04 -0700 (Mon, 05 May 2014)
Log Message:
-----------
Make sure config option to auto-purge is on for test.
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/tools/test/test_purge.py
Modified: CalendarServer/trunk/calendarserver/tools/test/test_purge.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/test/test_purge.py 2014-05-04 20:38:55 UTC (rev 13438)
+++ CalendarServer/trunk/calendarserver/tools/test/test_purge.py 2014-05-05 14:35:04 UTC (rev 13439)
@@ -354,6 +354,7 @@
# Now remove user01
yield self.directory.removeRecords((self.uid,))
self.patch(config.Scheduling.Options.WorkQueues, "Enabled", False)
+ self.patch(config.AutomaticPurging, "Enabled", True)
self.patch(config.AutomaticPurging, "PollingIntervalSeconds", -1)
self.patch(config.AutomaticPurging, "CheckStaggerSeconds", 1)
self.patch(config.AutomaticPurging, "PurgeIntervalSeconds", 3)
@@ -436,6 +437,7 @@
def setUp(self):
yield super(PurgePrincipalTestsWithWorkQueue, self).setUp()
self.patch(config.Scheduling.Options.WorkQueues, "Enabled", True)
+ self.patch(config.AutomaticPurging, "Enabled", True)
self.patch(config.AutomaticPurging, "PollingIntervalSeconds", -1)
self.patch(config.AutomaticPurging, "CheckStaggerSeconds", 1)
self.patch(config.AutomaticPurging, "PurgeIntervalSeconds", 3)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140505/d609b4b4/attachment.html>
More information about the calendarserver-changes
mailing list