Skip to content

[3.9] bpo-41739: Fix test_logging.test_race_between_set_target_and_flush() (GH-22655)#22656

Merged
vsajip merged 1 commit into
python:3.9from
vstinner:test_logging39
Oct 12, 2020
Merged

[3.9] bpo-41739: Fix test_logging.test_race_between_set_target_and_flush() (GH-22655)#22656
vsajip merged 1 commit into
python:3.9from
vstinner:test_logging39

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Oct 11, 2020

The test now waits until all threads complete to avoid leaking
running threads.

Also, use regular threads rather than daemon threads.

(cherry picked from commit 13ff396)

https://bugs.python.org/issue41739

…H-22655)

The test now waits until all threads complete to avoid leaking
running threads.

Also, use regular threads rather than daemon threads.

(cherry picked from commit 13ff396)
@vsajip vsajip merged commit f5393dc into python:3.9 Oct 12, 2020
@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR, and @vsajip for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 12, 2020
…ythonGH-22655) (pythonGH-22656)

The test now waits until all threads complete to avoid leaking
running threads.

Also, use regular threads rather than daemon threads.

(cherry picked from commit 13ff396)
(cherry picked from commit f5393dc)

Co-authored-by: Victor Stinner <[email protected]>
@bedevere-bot
Copy link
Copy Markdown

GH-22662 is a backport of this pull request to the 3.8 branch.

vstinner added a commit that referenced this pull request Oct 12, 2020
…H-22655) (GH-22656) (GH-22662)

The test now waits until all threads complete to avoid leaking
running threads.

Also, use regular threads rather than daemon threads.

(cherry picked from commit 13ff396)
(cherry picked from commit f5393dc)

Co-authored-by: Victor Stinner <[email protected]>

Co-authored-by: Victor Stinner <[email protected]>
@vstinner vstinner deleted the test_logging39 branch January 19, 2021 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants