Skip to content
Snippets Groups Projects
Commit 5df968c3 authored by Cheng Shao's avatar Cheng Shao Committed by Matthew Pickering
Browse files

testsuite: use concurrent.futures.ThreadPoolExecutor in the driver

The testsuite driver used to create one thread per test case, and
explicitly use semaphore and locks for rate limiting and
synchronization. This is a bad practice in any language, and
occasionally may result in livelock conditions (e.g. #22889). This
patch uses concurrent.futures.ThreadPoolExecutor for scheduling test
case runs, which is simpler and more robust.

(cherry picked from commit ca6673e3)
parent b0dee831
Branches wip/T19847
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment