]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36123: Fix test_socket.testWithTimeoutTriggeredSend() race condition (GH-12053)
authorJoannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
Tue, 26 Feb 2019 16:18:23 +0000 (19:18 +0300)
committerVictor Stinner <vstinner@redhat.com>
Tue, 26 Feb 2019 16:18:23 +0000 (17:18 +0100)
commit53b9e1a1c1d86187ad6fbee492b697ef8be74205
treeed814854c27a217d81d8b26ed36421536ca692a8
parentc606a9cbd48f69d3f4a09204c781dda9864218b7
bpo-36123: Fix test_socket.testWithTimeoutTriggeredSend() race condition (GH-12053)

Use longer timeout for accept() in the server and block on accept in the client.
The client now only sets the timeout once the socket is connected.
Lib/test/test_socket.py
Misc/NEWS.d/next/Tests/2019-02-26-12-51-35.bpo-36123.QRhhRS.rst [new file with mode: 0644]