cpython/Lib/test/libregrtest
Jeremy Kloth 8db7610d1a
bpo-44336: Prevent tests hanging on child process handles on Windows (GH-26578)
Replace the child process `typeperf.exe` with a daemon thread that reads the performance counters directly.  This prevents the issues that arise from inherited handles in grandchild processes (see issue37531 for discussion).

We only use the load tracker when running tests in multiprocess mode. This prevents inadvertent interactions with tests expecting a single threaded environment.  Displaying load is really only helpful for buildbots running in multiprocess mode anyway..

Co-authored-by: Jeremy Kloth <jeremy.kloth@gmail.com>
2022-03-22 17:21:35 +00:00
..
__init__.py bpo-37473: Don't import importlib ASAP in tests (GH-14661) 2019-07-14 19:31:12 +02:00
cmdline.py [3.9] bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) (GH-27293) 2021-07-22 23:17:13 +02:00
main.py bpo-44336: Prevent tests hanging on child process handles on Windows (GH-26578) 2022-03-22 17:21:35 +00:00
pgo.py bpo-36044: Avoid warnings in Windows PGO build and add lzma, bz2 and sqlite coverage (GH-14985) 2019-07-28 18:01:12 -07:00
refleak.py [3.9] Fix typos in the Lib directory (GH-28775) (GH-28803) 2021-10-07 08:42:38 -07:00
runtest.py [3.9] bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) (GH-27293) 2021-07-22 23:17:13 +02:00
runtest_mp.py bpo-46205: exit if no workers are alive in runtest_mp (GH-30470) 2022-01-10 19:32:15 -08:00
save_env.py bpo-37421: urllib.request tests call urlcleanup() (GH-14529) 2019-07-02 14:50:19 +02:00
setup.py bpo-43592: Raise RLIMIT_NOFILE in test.libregrtest (GH-29127) 2021-10-21 21:48:44 -07:00
utils.py bpo-38912: regrtest logs unraisable exception into sys.__stderr__ (GH-21718) (GH-21827) 2020-08-11 17:03:33 +02:00
win_utils.py bpo-44336: Prevent tests hanging on child process handles on Windows (GH-26578) 2022-03-22 17:21:35 +00:00