You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing: Run all test SPM executable actions in a operation queue (#9243)
Add an operation queue around execution of swiftPM process execution.
**swift-testing** based test will run all tests in parallel at the same
time, causing each invocation to spawn a process which will then spawn
many other subprocesses. This is compounded by tests that use arguments,
as each combination will create another test that will run in parallel.
These leads to a process bomb consuming all CPU and causes massive I/O
blocking.
Add a limit to how many swiftPM top level processes can run at the same
time during testing. This is similar behaviour to XCtest based testing
with the **--num-workers** option limiting the number of occurrent
tests.
0 commit comments