Skip to content
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

Fix broken verbose reporting of successful tests #70

Merged
merged 1 commit into from
Feb 18, 2025
Merged

Conversation

kzu
Copy link
Member

@kzu kzu commented Feb 18, 2025

We werre missing passing through the verbosity setting to the trx command, because we were creating a brand new setting class after the fact.

Since all the logic in that settings class (defaulting the path) is encapsulated in the Validate method, we can safely just use it when running the command.

For dotnet-retest we never do recursive log lookup, and we should preserve the legacy Skipped setting if it's provided too.

@kzu kzu added the bug Something isn't working label Feb 18, 2025
We werre missing passing through the verbosity setting to the trx command, because we were creating a brand new setting class after the fact.

Since all the logic in that settings class (defaulting the path) is encapsulated in the Validate method, we can safely just use it when running the command.

For dotnet-retest we never do recursive log lookup, and we should preserve the legacy Skipped setting if it's provided too.
@kzu kzu enabled auto-merge (rebase) February 18, 2025 23:17
@kzu
Copy link
Member Author

kzu commented Feb 18, 2025

4 passed 4 passed

🧪 Details on Microsoft Windows 10.0.20348

from dotnet-retest v42.42.220-pr70 on .NET 8.0.12 with 💜

@kzu kzu merged commit 2695bdc into main Feb 18, 2025
9 checks passed
@kzu kzu deleted the dev/verbosity branch February 18, 2025 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant