Commit 9b50f51
committed
fix(tests): disable MSBuild node reuse for processes spawned by the test suite
ExecProcessWithLambdas (FakeLib 4.64.17) ends with an unbounded WaitForExit() that the
7-minute timeout above it does not cover:
IL_020b: WaitForExit(int32) // the timeout
IL_0217: Kill() // "Process %s %s timed out."
IL_02b0: WaitForExit() // unbounded, after
IL_02b6: get_ExitCode()
That call returns only once the redirected streams reach EOF. With node reuse on,
dotnet build/run/pack leave MSBuild worker nodes behind holding the inherited stdout
and stderr handles, so EOF never comes and the run hangs with no output -- which is
why PROCESS TIMED OUT never appeared in the log.
ConditionSpecs is the only fixture that nests dotnet run and dotnet pack, and it is
where the Windows run stops.1 parent be223af commit 9b50f51
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
142 | 147 | | |
143 | 148 | | |
144 | 149 | | |
| |||
0 commit comments