Skip to content

Commit 6db87b9

Browse files
ericstjCopilot
andcommitted
Disable RuntimeAsync in CI to work around .NET 10 test host hang
xUnit v3 test host hangs intermittently on .NET 10 when RuntimeAsync is enabled (the default). The hang occurs after all tests have passed, with the test host process stalling indefinitely. Setting DOTNET_RuntimeAsync=0 reliably prevents the hang. This is a temporary workaround pending a fix in the .NET runtime. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 289e6b6 commit 6db87b9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci-build-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ jobs:
6161
run: make build CONFIGURATION=${{ matrix.configuration }}
6262

6363
- name: 🧪 Test
64+
# TODO: Remove DOTNET_RuntimeAsync=0 workaround once the .NET runtime fix is available.
65+
# Tracked by: https://github.com/dotnet/runtime/issues/126325
66+
# xUnit v3 test host hangs intermittently on .NET 10 with RuntimeAsync enabled.
67+
env:
68+
DOTNET_RuntimeAsync: "0"
6469
run: make test CONFIGURATION=${{ matrix.configuration }}
6570

6671
- name: 🧪 AOT Compatibility

0 commit comments

Comments
 (0)