You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2021. It is now read-only.
These tests launch a bunch of processes that are themselves managed apps, and because they inherit the environment variables from the parent process, the profiler is also getting hooked up to them. I'm guessing there's then some sort of issue where the host wasn't expecting data to come in from multiple profiled apps, but I've not explored the OpenCover code for this.
Are there any known issues when the app having coverage profiled launches other managed processes?
The CoreFX System.Diagnostics.Process tests (https://github.com/dotnet/corefx/tree/7116584186f8f3a886616aaf8cb5d4a982c60e27/src/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests) currently have code coverage disabled because, when coverage is enabled, the testing hangs. I just looked into it briefly, and it appears that after the tests finish running, OpenCover is running an infinite loop in SaveVisitData:
opencover/main/OpenCover.Framework/Manager/ProfilerManager.cs
Line 141 in b7ae4a4
These tests launch a bunch of processes that are themselves managed apps, and because they inherit the environment variables from the parent process, the profiler is also getting hooked up to them. I'm guessing there's then some sort of issue where the host wasn't expecting data to come in from multiple profiled apps, but I've not explored the OpenCover code for this.