[Zope-Coders] Re: [Zope-Checkins] CVS: ZODB3/ZODB/tests - testConfig.py:1.9
Chris Withers
chrisw@nipltd.com
Sat, 25 Jan 2003 01:03:57 +0000
Barry A. Warsaw wrote:
>>>>>>"CW" == Chris Withers <chrisw@nipltd.com> writes:
>>>>>
> CW> Either the suggested "check for a free port" as commented in
> CW> the test, or perpahs monkey-patching part of python's socket
> CW> library (just for this test!) would be better solutions?
>
> Why? Is this just a theoretical concern or have you actually seen
> failures, or hangs?
Well, when it was port 9, the tests hung every time. Surely picking another
random port means the test will hang/break when run on a machine that has that
port in use?
cheers,
Chris