dotnet / dotnet/diagnostics

CollectCommandProviderConfigurationConsolidation fails

Open
#5,698 3 comments 0 reactions 0 assignees View on GitHub
testing
Dominant language
C++
Stars
1.3k
Forks
404
Avg merge
2d 5h
Merged PRs (30d)
35

Description

Observed in [test run](https://dev.azure.com/dnceng/internal/_build/results?buildId=2889106&view=ms.vss-test-web.build-test-results-tab&runId=56280549&resultId=100066&paneView=debug):

Test failed: `Microsoft.Diagnostics.Tools.Trace.CollectCommandFunctionalTests.CollectCommandProviderConfigurationConsolidation` with empty collect args:

```
Assert.Equal() Failure: Values differ
Expected: 0
Actual: 2
```
at https://github.com/dotnet/diagnostics/blob/main/src/tests/dotnet-trace/CollectCommandFunctionalTests.cs#L56. Unclear what caused it since the MockConsole swallowed all output. An option to improve this would be to inject `ITestOutputHelper` into the constructor of the class and have the mock console multiplex the output.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.