]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-88118: Fix some test_multiprocessing flakiness. (GH-116434) (GH-116441)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 6 Mar 2024 22:20:37 +0000 (23:20 +0100)
committerGitHub <noreply@github.com>
Wed, 6 Mar 2024 22:20:37 +0000 (22:20 +0000)
commit22eb97cf9b6505ac44ed693abd4cc684052c39ee
tree4c888138088fcc7dbe3f1943acd81c5175db1981
parentfc9da9627437acdb15ff9b1c08bcece108896a9a
[3.11] gh-88118: Fix some test_multiprocessing flakiness. (GH-116434) (GH-116441)

Fix some test_multiprocessing flakiness.

Potentially introduced by https://github.com/python/cpython/pull/25845

not joining that thread likely leads to recently observed "environment
changed" logically passing but overall failing tests seen on some
buildbots similar to:

```
1 test altered the execution environment (env changed):
    test.test_multiprocessing_fork.test_processes

2 re-run tests:
    test.test_multiprocessing_fork.test_processes
    test.test_multiprocessing_forkserver.test_processes
```
(cherry picked from commit ea1803e608a7aaf9cf2c07e510d8540d46d3b9ad)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Lib/test/_test_multiprocessing.py