Disable node reuse when running msbuild inside of tests.
Sean Hall committed
May 31, 2020 at 14:59 UTC
1027b60874319e9b14d4e27c95a992835abb1403
1 file changed
+3
src/test/WixToolsetTest.MSBuild/MsbuildUtilities.cs
+3
@@ -22,6 +22,9 @@ namespace WixToolsetTest.MSBuild
22
var allArgs = new List<string>
23
{
24
$"-p:WixMSBuildProps={MsbuildUtilities.WixPropsPath}",
25
+ // Node reuse means that child msbuild processes can stay around after the build completes.
26
+ // Under that scenario, the root msbuild does not reliably close its streams which causes us to hang.
27
+ "-nr:false",
28
};
29
30
if (arguments != null)