]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-107237: Fix test_udp_reconnection() of test_logging (GH-107238) (#107242)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 25 Jul 2023 13:43:11 +0000 (06:43 -0700)
committerGitHub <noreply@github.com>
Tue, 25 Jul 2023 13:43:11 +0000 (13:43 +0000)
commite788c0aeeb46bdfa3c4d8a39fb9bbb505e6d27a8
treee8f84b79bf1b2aaf47bf1ee165311a1a226b85c5
parent0cf5f6a6db0c50e46687de1fd99f90d7f85f69ea
[3.12] gh-107237: Fix test_udp_reconnection() of test_logging (GH-107238) (#107242)

gh-107237: Fix test_udp_reconnection() of test_logging (GH-107238)

test_logging: Fix test_udp_reconnection() by increasing the timeout
from 100 ms to 5 minutes (LONG_TIMEOUT).

Replace also blocking wait() with wait(LONG_TIMEOUT) in
test_output() to prevent the test to hang.
(cherry picked from commit ed082383272c2c238e364e9cc83229234aee23cc)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_logging.py
Misc/NEWS.d/next/Tests/2023-07-25-14-36-33.gh-issue-107237.y1pY79.rst [new file with mode: 0644]