diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 352332eb..2208f27c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -75,8 +75,15 @@ jobs: tests/AcDream.Launcher.Core.Tests \ tests/AcDream.UI.Abstractions.Tests ; do echo "::group::$p" + # MaxParallelThreads is capped because this runner is a small + # container. Under full-assembly parallel load + # FakeAceTransportTests.PausedSelector_SeededDroppedServerReady_ + # RecoversOnIdleSweep took 37 s and missed its 2 s real-time wait, + # while passing 5/5 in ~350 ms in isolation. Timing-sensitive, not + # broken: starve it less rather than edit Campaign N transport code. dotnet test "$p" -c Release --nologo \ - --filter 'Lane!=InstalledDat&Lane!=PreparedPackage&Lane!=Live&Lane!=Manual&Lane!=Windows&Lane!=SystemFont&Purpose!=Diagnostic&Status!=KnownFailure' + --filter 'Lane!=InstalledDat&Lane!=PreparedPackage&Lane!=Live&Lane!=Manual&Lane!=Windows&Lane!=SystemFont&Purpose!=Diagnostic&Status!=KnownFailure' \ + -- xUnit.MaxParallelThreads=2 echo "::endgroup::" done