[New-bugs-announce] [issue35247] test.test_socket.RDSTest.testPeek hangs indefinitely
report at bugs.python.org
Wed Nov 14 11:14:47 EST 2018
New submission from markmcclain <mark at mcclain.xyz>:
test.test_socket.RDSTest.testPeek() can hang indefinitely. ThreadableTest attempts to ensure ordering of operations, but allows both the client and server to proceed without guaranteeing that the data is sent prior to the blocking attempt to peek at the socket's contents.
Either the test needs to make recvfrom non-blocking with a timeout/retry loop or ensure data is sent prior to allowing the server to proceed.
title: test.test_socket.RDSTest.testPeek hangs indefinitely
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce