[CalendarServer-changes] [9768] CalendarServer/trunk/calendarserver/tap/test/test_caldav.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 4 12:37:52 PDT 2012


Revision: 9768
          http://trac.macosforge.org/projects/calendarserver/changeset/9768
Author:   cdaboo at apple.com
Date:     2012-09-04 12:37:51 -0700 (Tue, 04 Sep 2012)
Log Message:
-----------
Fix test for stats socket changes.

Modified Paths:
--------------
    CalendarServer/trunk/calendarserver/tap/test/test_caldav.py

Modified: CalendarServer/trunk/calendarserver/tap/test/test_caldav.py
===================================================================
--- CalendarServer/trunk/calendarserver/tap/test/test_caldav.py	2012-09-04 16:14:07 UTC (rev 9767)
+++ CalendarServer/trunk/calendarserver/tap/test/test_caldav.py	2012-09-04 19:37:51 UTC (rev 9768)
@@ -1,5 +1,5 @@
 ##
-# Copyright (c) 2007-2010 Apple Inc. All rights reserved.
+# Copyright (c) 2007-2012 Apple Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -459,6 +459,7 @@
         self.config.GroupName = grp.getgrgid(alternateGroup).gr_name
 
         self.config["ProcessType"] = "Combined"
+        self.config.Stats.EnableUnixStatsSocket = True
         self.writeConfig()
         svc = self.makeService()
         for serviceName in [_CONTROL_SERVICE_NAME]:
@@ -470,7 +471,7 @@
                 "Wrong mode on %s: %s" % (serviceName, oct(m))
             )
             self.assertEquals(socketService.gid, alternateGroup)
-        for serviceName in ["stats"]:
+        for serviceName in ["unix-stats"]:
             socketService = svc.getServiceNamed(serviceName)
             self.assertIsInstance(socketService, GroupOwnedUNIXServer)
             m = socketService.kwargs.get("mode", 0666)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120904/cc45c5d2/attachment.html>


More information about the calendarserver-changes mailing list