Closed
Description
Bug report
Running freshly updated and compiled main on my new machine, python -m test -j0
(I forgot -ugui) ran all but 2 tests in 2:46. (16 cores defaulted to 2x16 + 2 == 34 processes.) The longest running was test_multiprocessing_spawn.test_processes at 2:18. But test_super took 10:13 and test_free_threading took 13:37. These both need to be broken up into one or more directories with multiple files in each, which each file running faster than the longest 'other' test. Several other tests, including multiprocessing have been broken up in the last year to allow testing to complete faster on multicore machines. (I don't know what label, if any, might be added for test_super.)
Linked PRs
- gh-124402: Require cpu resource in test_super slow method #124434
- gh-124402: Require cpu resource in test_free_threading #124438
- [3.13] gh-124402: Require cpu resource in test_free_threading (#124438) #124439
- [3.13] gh-124402: Require cpu resource in test_super slow method (GH-124434) #124468
- gh-124402: Speed up test_free_threading and test_super #124491
- [3.13] gh-124402: Speed up test_free_threading and test_super (#124491) #124585