Skip to content

Commit abf47ca

Browse files
committed
pythongh-108834: regrtest reruns failed tests in subprocesses
* Rewrite code to serialize/deserialize worker arguments as JSON using a new WorkerJob class. * Add TestResult.get_rerun_match_tests() method * test_regrtest.test_rerun_success() now uses a marker file, since the test is re-run in a separated process. * run_tests_worker() does also parses the JSON. * If failed test names cannot be parsed, log a warning and don't filter tests. * Add tests on normalize_test_name() function.
1 parent a52213b commit abf47ca

File tree

6 files changed

+357
-218
lines changed

6 files changed

+357
-218
lines changed

0 commit comments

Comments
 (0)