[CalendarServer-changes] [7429] CalendarServer/trunk/contrib/performance/loadtest/test_sim.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue May 10 12:20:24 PDT 2011
Revision: 7429
http://trac.macosforge.org/projects/calendarserver/changeset/7429
Author: exarkun at twistedmatrix.com
Date: 2011-05-10 12:20:24 -0700 (Tue, 10 May 2011)
Log Message:
-----------
Adjust assertion to verify that the arrival profile just gets the same reactor as the LoadSimulator which created it; accounts for the fact that the LoadSimulator wraps the reactor passed to it to support lag measurement.
Modified Paths:
--------------
CalendarServer/trunk/contrib/performance/loadtest/test_sim.py
Modified: CalendarServer/trunk/contrib/performance/loadtest/test_sim.py
===================================================================
--- CalendarServer/trunk/contrib/performance/loadtest/test_sim.py 2011-05-10 19:18:44 UTC (rev 7428)
+++ CalendarServer/trunk/contrib/performance/loadtest/test_sim.py 2011-05-10 19:20:24 UTC (rev 7429)
@@ -217,7 +217,7 @@
None, Arrival(FakeArrival, {'x': 3, 'y': 2}), None, reactor=reactor)
arrival = sim.createArrivalPolicy()
self.assertIsInstance(arrival, FakeArrival)
- self.assertIdentical(arrival.reactor, reactor)
+ self.assertIdentical(arrival.reactor, sim.reactor)
self.assertEquals(arrival.x, 3)
self.assertEquals(arrival.y, 2)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110510/af6e8ec8/attachment.html>
More information about the calendarserver-changes
mailing list