-
Notifications
You must be signed in to change notification settings - Fork 323
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
Errors and warnings in test logs will be shown in the summary of the pipeline run #10410
Comments
Can you please share in which version of VSTest is this happening, this was a problem in 17.11.0 and was solved in 17.11.1 #5184 |
can you tell me how exactly you are logging the warnings and errors, or make a repro please? I am not sure if this is the ado agent picking this up from the message (but I doubt that), or the bug is not being fixed, or something else. Thanks. |
I'm not sure if you can access this link to take a look: https://office.visualstudio.com/OneAuth/_build/results?buildId=32294904&view=results |
We have two types of logging since we have two different libraries, but errors and warnings will be treated as errors for both of them. The string format is just like the screenshot. I'm thinking somehow it (the vstest?) will try to match the string ("warning" and "error") in the lines and do some operations? |
@nohwnd This issue is important to us. Please let me know if you need more information. Thanks! |
Hi there, I'm using Vstest@2 in our CI pipeline to run the XUnit C# tests. The problem is that we are logging some warnings and errors inside the test logs. And they will be treated as an error in the summary of the pipeline run though the tests and tasks are actually passing. My question would be how I can suppress these errors in the summary page since it will confuse the person who click inside the run.
The text was updated successfully, but these errors were encountered: