在 AppVeyor 上运行 Coverlet 并显示消息“vstest.console process failed to connect to testhost process”

gia*_*lli 5 code-coverage appveyor .net-core

当我尝试运行床单AppVeyor使用以下命令:

dotnet test GeneticSharp.Domain.UnitTests -f netcoreapp2.0 /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
Run Code Online (Sandbox Code Playgroud)

我收到以下消息:

vstest.console process failed to connect to testhost process after 90 seconds. This may occur due to machine slowness, please set environment variable VSTEST_CONNECTION_TIMEOUT to increase timeout.

Incrementing VSTEST_CONNECTION_TIMEOUT did not solve.

The command runs with no problem on my local Windows and Mac machines.