[Checkins] SVN: zc.resumelb/trunk/src/zc/resumelb/ Gaaa, errnos differ accross platforms
jim
cvs-admin at zope.org
Thu Mar 22 20:11:38 UTC 2012
Log message for revision 124695:
Gaaa, errnos differ accross platforms
Changed:
U zc.resumelb/trunk/src/zc/resumelb/worker.test
U zc.resumelb/trunk/src/zc/resumelb/zk.test
-=-
Modified: zc.resumelb/trunk/src/zc/resumelb/worker.test
===================================================================
--- zc.resumelb/trunk/src/zc/resumelb/worker.test 2012-03-22 20:02:43 UTC (rev 124694)
+++ zc.resumelb/trunk/src/zc/resumelb/worker.test 2012-03-22 20:11:33 UTC (rev 124695)
@@ -359,9 +359,10 @@
We can't connect to the worker anymore:
>>> gevent.socket.create_connection(worker.addr)
+ ... # doctest: +ELLIPSIS
Traceback (most recent call last):
...
- error: [Errno 111] Connection refused
+ error: [Errno ...] Connection refused
If we finish the outstanding requests, the worker will finish shutting down:
Modified: zc.resumelb/trunk/src/zc/resumelb/zk.test
===================================================================
--- zc.resumelb/trunk/src/zc/resumelb/zk.test 2012-03-22 20:02:43 UTC (rev 124694)
+++ zc.resumelb/trunk/src/zc/resumelb/zk.test 2012-03-22 20:11:33 UTC (rev 124695)
@@ -116,10 +116,10 @@
>>> zk.get_children('/test/lb/workers/providers')
[]
- >>> gevent.socket.create_connection(worker.addr)
+ >>> gevent.socket.create_connection(worker.addr) # doctest: +ELLIPSIS
Traceback (most recent call last):
...
- error: [Errno 111] Connection refused
+ error: [Errno ...] Connection refused
Variations
@@ -283,9 +283,10 @@
[]
>>> gevent.socket.create_connection(('127.0.0.1', addr[1]))
+ ... # doctest: +ELLIPSIS
Traceback (most recent call last):
...
- error: [Errno 111] Connection refused
+ error: [Errno ...] Connection refused
>>> lb.workletts
{}
More information about the checkins
mailing list