After upgrading our Docker containers from preview 4 to preview 7 (mcr.microsoft.com/dotnet/core/sdk:3.0-buster) all our XUnit tests are hanging.
Command (in the solution directory):
dotnet test --logger "trx;LogFileName=Results.trx" /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Include="[Backend.*]*"
Output:
Test run for /tmp/build/c0907c7d/repo/src/backend/Api.Tests/bin/Debug/netcoreapp3.0/Backend.Api.Tests.dll(.NETCoreApp,Version=v3.0)
Test run for /tmp/build/c0907c7d/repo/src/backend/Ctrl.Tests/bin/Debug/netcoreapp3.0/Backend.Ctrl.Tests.dll(.NETCoreApp,Version=v3.0)
Microsoft (R) Test Execution Command Line Tool Version 16.1.1
Copyright (c) Microsoft Corporation. All rights reserved.
Microsoft (R) Test Execution Command Line Tool Version 16.1.1
Copyright (c) Microsoft Corporation. All rights reserved.
Starting test execution, please wait...
Starting test execution, please wait...
Test Run Successful.
Total tests: 13
Passed: 13
Total time: 2.0733 Seconds
After this comes nothing.
I've seen the same (or similar) issue reported here for .NET Core 2.x
Moved from https://github.com/microsoft/vstest/issues/2107
Description
After upgrading our Docker containers from preview 4 to preview 7 (
mcr.microsoft.com/dotnet/core/sdk:3.0-buster
) all our XUnit tests are hanging.Command (in the solution directory):
Output:
After this comes nothing.
I've seen the same (or similar) issue reported here for .NET Core 2.x
It seems to be fixed for 2.1.701 & 2.2.301 (according to https://github.com/dotnet/core/issues/2775#issuecomment-510191569) Should this be fixed with preview 7 or do we have to wait for preview 8?
Currently we can't use preview 7 for solution wide unit tests!
Environment
mcr.microsoft.com/dotnet/core/sdk:3.0-buster
as of July 30 (preview 7)