]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-107237: Fix test_udp_reconnection() of test_logging (#107238)
authorVictor Stinner <vstinner@python.org>
Tue, 25 Jul 2023 13:13:59 +0000 (15:13 +0200)
committerGitHub <noreply@github.com>
Tue, 25 Jul 2023 13:13:59 +0000 (13:13 +0000)
commited082383272c2c238e364e9cc83229234aee23cc
treeeecd23d1ba19eb84a07f90a4d5677bffb139fc32
parent6261585d63a31835b65d445d99dc14cca3fe9cf5
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.
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]