[issue15285] test_timeout failure on OSX

Florent Xicluna report at bugs.python.org
Sun Jul 8 00:06:40 CEST 2012


Florent Xicluna <florent.xicluna at gmail.com> added the comment:

This was this test which was failing:


    def testConnectTimeout(self):
        # Choose a private address that is unlikely to exist to prevent
        # failures due to the connect succeeding before the timeout.
        # Use a dotted IP address to avoid including the DNS lookup time
        # with the connect time.  This avoids failing the assertion that
        # the timeout occurred fast enough.
        addr = ('10.0.0.0', 12345)
        with support.transient_internet(addr[0]):
            self._sock_operation(1, 0.001, 'connect', addr)


I suspect a conflicting configuration of the EuroPython network ;)
Let's close it.

----------
status: pending -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15285>
_______________________________________


More information about the Python-bugs-list mailing list