[New-bugs-announce] [issue35247] test.test_socket.RDSTest.testPeek hangs indefinitely

markmcclain 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.

----------
components: Tests
messages: 329914
nosy: markmcclain
priority: normal
severity: normal
status: open
title: test.test_socket.RDSTest.testPeek hangs indefinitely
type: behavior
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35247>
_______________________________________


More information about the New-bugs-announce mailing list