[Twisted-Python] Re: [Twisted-commits] r14597 - try enabling SO_REUSEADDR on windows

Andrew Bennetts andrew-twisted at puzzling.org
Thu Oct 6 00:24:23 MDT 2005


On Thu, Sep 29, 2005 at 07:17:59AM -0600, Itamar Shtull-Trauring wrote:
> Author: itamarst
> Date: Thu Sep 29 07:17:59 2005
> New Revision: 14597
> 
> Modified:
>    trunk/twisted/internet/tcp.py
> Log:
> try enabling SO_REUSEADDR on windows

This appears to have broken
twisted.test.test_tcp.CannotBindTestCase.testCannotBind on windows.  Excerpt
from <http://twistedmatrix.com/buildbot/win32/builds/719/default/2>:

===============================================================================
[FAIL]: twisted.test.test_tcp.CannotBindTestCase.testCannotBind

  File "c:\buildslave\w32\W32-full2.2\Twisted\twisted\internet\defer.py", line 109, in maybeDeferred
    result = f(*args, **kw)
  File "c:\buildslave\w32\W32-full2.2\Twisted\twisted\test\test_tcp.py", line 451, in testCannotBind
    reactor.listenTCP, n, f, interface='127.0.0.1')
  File "c:\buildslave\w32\W32-full2.2\Twisted\twisted\trial\unittest.py", line 115, in failUnlessRaises
    raise FailTest('%s not raised (%r returned)'
twisted.trial.unittest.FailTest: CannotListenError not raised (<<class 'twisted.internet.tcp.Port'> of twisted.test.test_tcp.MyServerFactory on 4967> returned)
===============================================================================

-Andrew.





More information about the Twisted-Python mailing list