Skip to content

Commit 6b6bdf0

Browse files
authored
[wasm][debugger] Set VSTEST_TESTHOST_SHUTDOWN_TIMEOUT to 2s (#89703)
The tests have been getting randomly aborted with: `The active test run was aborted. Reason: Test host process crashed` This might be due to the shutdown taking too long. The default timeout is 100ms. Increasing that to 2000ms. Issue: #89409
1 parent 7fb4a3c commit 6b6bdf0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/mono/wasm/debugger/Wasm.Debugger.Tests/Wasm.Debugger.Tests.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545
<ItemGroup>
4646
<RunScriptCommands Condition="'$(OS)' != 'Windows_NT'" Include="export DEBUGGER_TEST_PATH=$PWD/debugger-test" />
4747
<RunScriptCommands Condition="'$(OS)' == 'Windows_NT'" Include="set DEBUGGER_TEST_PATH=%25cd%25/debugger-test" />
48+
49+
<!-- See https://github.com/dotnet/runtime/issues/89409 and https://github.com/microsoft/vstest/issues/2952 -->
50+
<RunScriptCommands Condition="'$(OS)' != 'Windows_NT'" Include="export VSTEST_TESTHOST_SHUTDOWN_TIMEOUT=2000" />
51+
<RunScriptCommands Condition="'$(OS)' == 'Windows_NT'" Include="set VSTEST_TESTHOST_SHUTDOWN_TIMEOUT=2000" />
4852
</ItemGroup>
4953

5054
<ItemGroup Condition="'$(ContinuousIntegrationBuild)' == 'true' and '$(DebuggerHost)' == 'chrome'">

0 commit comments

Comments
 (0)