Skip to content

vstest console wrapper seems to not receive DiscoveryComplete event since 17.2.0 #4326

@rouke-broersma

Description

@rouke-broersma

Description

In stryker-net we have not been able to upgrade the TestPlatform since 17.2.0 due to an infinite hang during test discovery.
We had not been able to investigate properly because it was only failing on azure devops for some reason.
I have finally had time to figure out why we weren't getting proper logs in the pipeline, and have found that the reason for the hang is that vstest.console.exe does seem to send the DiscoveryComplete but our wrapper is not receiving it.

Steps to reproduce

stryker-mutator/stryker-net#2221
https://dev.azure.com/stryker-mutator/Stryker/_build/results?buildId=12695&view=results

Diagnostic logs

TestDiscoverer_VsTest-log.txt

Environment

Azure Pipelines hosted agent - windows latest
dotnet framework 4.8

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions