From 1027b60874319e9b14d4e27c95a992835abb1403 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sun, 31 May 2020 14:59:58 +1000 Subject: Disable node reuse when running msbuild inside of tests. --- src/test/WixToolsetTest.MSBuild/MsbuildUtilities.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/WixToolsetTest.MSBuild/MsbuildUtilities.cs b/src/test/WixToolsetTest.MSBuild/MsbuildUtilities.cs index d4815bde..6da52ed9 100644 --- a/src/test/WixToolsetTest.MSBuild/MsbuildUtilities.cs +++ b/src/test/WixToolsetTest.MSBuild/MsbuildUtilities.cs @@ -22,6 +22,9 @@ namespace WixToolsetTest.MSBuild var allArgs = new List { $"-p:WixMSBuildProps={MsbuildUtilities.WixPropsPath}", + // Node reuse means that child msbuild processes can stay around after the build completes. + // Under that scenario, the root msbuild does not reliably close its streams which causes us to hang. + "-nr:false", }; if (arguments != null) -- cgit v1.2.3-55-g6feb