]> 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:40:22 +0000 (14:40 -0700)
committerGitHub <noreply@github.com>
Mon, 17 Sep 2018 21:40:22 +0000 (14:40 -0700)
commit68a8f041051e8387583c66b91c7a3bbda6cf7e63
tree69dde8afe50ac36e7105b023f7cb255b2fd7d52b
parent83a0985165abf340294c10d732840e9d46ba218c
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]