]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34587, test_socket: remove RDSTest.testCongestion() (GH-9277)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 17 Sep 2018 21:27:59 +0000 (14:27 -0700)
committerGitHub <noreply@github.com>
Mon, 17 Sep 2018 21:27:59 +0000 (14:27 -0700)
commitb7f58d7f80f80f0e20cad84773f158a379a19280
treee0f651bf872c67eb43e5fe388577e6d1f33a7433
parent1229664f30dd5fd4da32174a19258f8312464d45
bpo-34587, test_socket: remove RDSTest.testCongestion() (GH-9277)

The test tries to fill the receiver's socket buffer and expects an
error. But the RDS protocol doesn't require that. Moreover, the Linux
implementation of RDS expects that the producer of the messages
reduces its rate, it's not the role of the receiver to trigger an
error.

The test fails on Fedora 28 by design, so remove it.
(cherry picked from commit 7484bdfd1e2e33fdd2c44dd4ffa044aacd495337)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/test_socket.py
Misc/NEWS.d/next/Tests/2018-09-13-20-58-07.bpo-34587.rCcxp3.rst [new file with mode: 0644]