-
Notifications
You must be signed in to change notification settings - Fork 388
Failed to get coverage result: Unable to read beyond the end of the stream #972
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
Comments
This comment has been minimized.
This comment has been minimized.
@fahadabdulaziz, your situation is a known issue in the msbuild integration, addressed in issue #718. On the other hand, this particular issue is dedicated to investigating the same error in the DataCollector integration (without any msbuild integration). |
@caghand oh thanks for clarifying that, and sorry for the interruption :-) |
@caghand is your project .NET Framework or .NET Core? If .NET Framework this is expected, in process collectors won't be loaded so you'll hit same issue as msbuild, you can follow explaination here #970 we fixed this some days a go but not in a stable relase at the moment. |
Hi @MarcoRossignoli, our project is in .NET Core 3.1. |
Yep without passing it to command line in process collector won't be injected(and you'll hit same issue as msbuild), we use runsettings only to pass parameters to coverlet. It's on guide https://github.com/coverlet-coverage/coverlet/blob/master/Documentation/VSTestIntegration.md but I think it isn't clear enough 😕 , let me know if we can improve it, or feel free to open a PR to "highlight" this fact. |
Thanks for the info! I have filed an issue about it here: microsoft/vstest#2599 (I hope I explained it correctly there! :)) |
This is a follow-up to issue #718.
We are seeing this issue even when using the DataCollector integration ("XPlat Code Coverage").
But it only happens for a .csproj file that has 6500 tests. :)
And it happens once every 5 runs, approximately.
Our package versions:
The text was updated successfully, but these errors were encountered: