[CalendarServer-changes] [14673] CalDAVTester/trunk/scripts/tests/CalDAV/implicitscheduletag.xml

source_changes at macosforge.org source_changes at macosforge.org
Fri Apr 10 11:30:22 PDT 2015


Revision: 14673
          http://trac.calendarserver.org//changeset/14673
Author:   cdaboo at apple.com
Date:     2015-04-10 11:30:22 -0700 (Fri, 10 Apr 2015)
Log Message:
-----------
Wait for attendee refresh to propagate.

Modified Paths:
--------------
    CalDAVTester/trunk/scripts/tests/CalDAV/implicitscheduletag.xml

Modified: CalDAVTester/trunk/scripts/tests/CalDAV/implicitscheduletag.xml
===================================================================
--- CalDAVTester/trunk/scripts/tests/CalDAV/implicitscheduletag.xml	2015-04-10 17:57:10 UTC (rev 14672)
+++ CalDAVTester/trunk/scripts/tests/CalDAV/implicitscheduletag.xml	2015-04-10 18:30:22 UTC (rev 14673)
@@ -2758,10 +2758,15 @@
 						<value>Resource/CalDAV/implicit/scheduletag/otherattendee/3.ics</value>
 					</arg>
 				</verify>
+				<graburi>$uri-attendee2:</graburi>
 				<grabheader>
 					<name>Schedule-Tag</name>
 					<variable>$schedule-tag-attendee2:</variable>
 				</grabheader>
+				<grabheader>
+					<name>Etag</name>
+					<variable>$etag-attendee2:</variable>
+				</grabheader>
 			</request>
 			<request user="$userid3:" pswd="$pswd3:">
 				<method>GETNEW</method>
@@ -2819,16 +2824,20 @@
 		</test>
 		<test name='8'>
 			<description>Attendee 2 -> Accepted all instances with If-Schedule-Tag-Match</description>
-			<request user="$userid2:" pswd="$pswd2:">
-				<method>GETNEW</method>
-				<ruri>$calendarpath2:/</ruri>
+			<request user="$userid2:" pswd="$pswd2:" wait-for-success="yes">
+				<method>HEAD</method>
+				<ruri>$uri-attendee2:</ruri>
 				<verify>
-					<callback>statusCode</callback>
+					<callback>header</callback>
+					<arg>
+						<name>header</name>
+						<value>ETag!$etag-attendee2:</value>
+					</arg>
 				</verify>
 			</request>
 			<request user="$userid2:" pswd="$pswd2:">
 				<method>PUT</method>
-				<ruri>$</ruri>
+				<ruri>$uri-attendee2:</ruri>
 				<header>
 					<name>If-Schedule-Tag-Match</name>
 					<value>$schedule-tag-attendee2:</value>
@@ -2845,8 +2854,8 @@
 		<test name='9'>
 			<description>Attendees checks data</description>
 			<request user="$userid2:" pswd="$pswd2:">
-				<method>GETNEW</method>
-				<ruri>$calendarpath2:/</ruri>
+				<method>GET</method>
+				<ruri>$uri-attendee2:</ruri>
 				<verify>
 					<callback>calendarDataMatch</callback>
 					<arg>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150410/6a468cf5/attachment.html>


More information about the calendarserver-changes mailing list