[Checkins] SVN: zc.resumelb/trunk/src/zc/resumelb/worker.test Tweaked to make a race end the way I want and so avoid a spurious test
jim
cvs-admin at zope.org
Thu Apr 26 18:46:34 UTC 2012
Log message for revision 125310:
Tweaked to make a race end the way I want and so avoid a spurious test
failure.
Changed:
U zc.resumelb/trunk/src/zc/resumelb/worker.test
-=-
Modified: zc.resumelb/trunk/src/zc/resumelb/worker.test
===================================================================
--- zc.resumelb/trunk/src/zc/resumelb/worker.test 2012-04-26 18:33:32 UTC (rev 125309)
+++ zc.resumelb/trunk/src/zc/resumelb/worker.test 2012-04-26 18:46:30 UTC (rev 125310)
@@ -601,9 +601,9 @@
B 1 2012-02-05 01:02:03.000456 GET /sleep.html?dur=.1
>>> now += datetime.timedelta(microseconds=10000)
>>> write_message(worker_socket, 22,
- ... newenv('', '/sleep.html?dur=.1&size=11'))
+ ... newenv('', '/sleep.html?dur=.1&size=111'))
>>> gevent.sleep(.01)
- B 2 2012-02-05 01:02:03.010456 GET /sleep.html?dur=.1&size=11
+ B 2 2012-02-05 01:02:03.010456 GET /sleep.html?dur=.1&size=111
>>> now += datetime.timedelta(microseconds=10000)
>>> write_message(worker_socket, 22, '')
>>> gevent.sleep(.01)
@@ -615,7 +615,7 @@
I 1 2012-02-05 01:02:03.030456
T 2 2012-02-05 01:02:03.030456 test
- 2 2012-02-05 01:02:03.030456 test2
- A 2 2012-02-05 01:02:03.030456 200 OK 132
+ A 2 2012-02-05 01:02:03.030456 200 OK 1332
C 1 2012-02-05 01:02:03.030456
E 2 2012-02-05 01:02:03.030456
(22, ('200 OK', [('Content-Length', ...
More information about the checkins
mailing list