]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-107237: Fix test_udp_reconnection() of test_logging (#107238) (#107245)
authorVictor Stinner <vstinner@python.org>
Tue, 25 Jul 2023 14:49:32 +0000 (16:49 +0200)
committerGitHub <noreply@github.com>
Tue, 25 Jul 2023 14:49:32 +0000 (14:49 +0000)
commitdb03cb953a26970e1affe4e8fc7a8da79a3d229a
treec68190071fd5c2c250e7b32600b558d90ecd1d58
parent1bc160947ea58fb3d11fa8667266bc80e9a14b7f
[3.11] gh-107237: Fix test_udp_reconnection() of test_logging (#107238) (#107245)

gh-107237: Fix test_udp_reconnection() of test_logging (#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)
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]