-
-
Notifications
You must be signed in to change notification settings - Fork 110
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
We are running tests using dotnet test --timeout 5m in GHA. In maybe 10% of runs, a test seems to hang, but the specified timeout is ignored.
Here's a screenshot from GHA showing the issue:
Expected Behavior
I expect the hanging test to be cancelled after 5 minutes.
Actual Behavior
Test run hangs for 6 hours with no progress, until GHA cancels the run.
Steps to Reproduce
- Create a test that waits forever
- Run it with
dotnet test --timeout 5min GitHub Actions
TUnit Version
1.5.41
.NET Version
.NET 10.0
Operating System
Linux
IDE / Test Runner
dotnet CLI (dotnet test / dotnet run)
Error Output / Stack Trace
Additional Context
No response
IDE-Specific Issue?
- I've confirmed this issue occurs when running via
dotnet testordotnet run, not just in my IDE
Copilot
Metadata
Metadata
Labels
bugSomething isn't workingSomething isn't working