-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NET9] dotnet test hangs during build #45461
Comments
I should mention that the target project(s) are targeting net8 not net9. Cheers, |
Other things we tried:-
It still hangs. Cheers, |
This is going to sound crazy, but when I don't use Cheers, |
I've been poking around and it looks like they have been previous issues around the terminal logger. I'm aware that is the new default beginning with net9. Cheers, |
I'm not sure if this is the sdk or the dotnet test command now, so I've opened a sister ticket: |
Describe the bug
When calling
dotnet test
the build step hangs on random projects.To Reproduce
I really wish I could give you a step by step reproduction.
It's incredibly intermittent the exact command run 10 times will either fail consistently or succeed consistently.
diag*.log does have things like this:-
But that is seemingly a red-herring as that happens on a good run too.
It's like something gets "stuck" and remains stuck until we do a
dotnet build
beforehand and then dodotnet test --no-build
that always works.Things we tried
Exceptions (if any)
None that we can see so far.
Further technical details
The text was updated successfully, but these errors were encountered: