Skip to content

fix: Console logs are outputted twice when using TestAdapter #2790

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

Merged
merged 2 commits into from
Jun 22, 2025

Conversation

filzrev
Copy link
Contributor

@filzrev filzrev commented Jun 22, 2025

This PR intended to fix issue that console and VS Output Window logs are outputted twice when running benchmarks with TestAdapter/ dotnet test command.

What's Tested

  1. When running benchmark from Visual Studio TestExplorer.
    No duplicated logs outputted on Output Window's Tests pane.
  2. When running following command.
    No duplicated logs outputted.

    dotnet test BenchmarkDotNet.sln -c Release --filter Category=Fast -tl:off --framework net8.0 --logger:"console;verbosity=normal"

@filzrev filzrev marked this pull request as ready for review June 22, 2025 03:18
@timcassell timcassell merged commit 799ecfc into dotnet:master Jun 22, 2025
7 of 9 checks passed
@timcassell timcassell added this to the v0.15.3 milestone Jun 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants