Skip to content

Commit 2f9d7c8

Browse files
radicalgithub-actions
authored and
github-actions
committed
[wasm][debugger] Set VSTEST_TESTHOST_SHUTDOWN_TIMEOUT to 2s
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 b075459 commit 2f9d7c8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tests/BuildWasmApps/Wasm.Debugger.Tests/Wasm.Debugger.Tests.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
<ItemGroup>
3636
<RunScriptCommands Condition="'$(OS)' != 'Windows_NT'" Include="export DEBUGGER_TEST_PATH=$PWD/debugger-test" />
3737
<RunScriptCommands Condition="'$(OS)' == 'Windows_NT'" Include="set DEBUGGER_TEST_PATH=%25cd%25/debugger-test" />
38+
39+
<!-- See https://github.com/dotnet/runtime/issues/89409 and https://github.com/microsoft/vstest/issues/2952 -->
40+
<RunScriptCommands Condition="'$(OS)' != 'Windows_NT'" Include="export VSTEST_TESTHOST_SHUTDOWN_TIMEOUT=2000" />
41+
<RunScriptCommands Condition="'$(OS)' == 'Windows_NT'" Include="set VSTEST_TESTHOST_SHUTDOWN_TIMEOUT=2000" />
3842
</ItemGroup>
3943

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

0 commit comments

Comments
 (0)