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

Only push output device messages to Test Explorer, don't push logs #4178

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Youssef1313
Copy link
Member

Logs are intended to be used for diagnosing. They shouldn't be localized and they shouldn't be pushed to Test Explorer.

Logs are intended to be used for diagnosing. They shouldn't be localized and they shouldn't be pushed to Test Explorer.
@@ -40,7 +40,7 @@ public async Task DiscoverAndRun(string tfm)
await Task.WhenAll(discoveryListener.WaitCompletion(), runListener.WaitCompletion());
Assert.AreEqual(1, discoveryCollector.TestNodeUpdates.Count(x => x.Node.NodeType == "action"), $"Wrong number of discovery");
Assert.AreEqual(2, runCollector.TestNodeUpdates.Count, $"Wrong number of updates");
Assert.IsFalse(logs.IsEmpty, $"Logs are empty");
Assert.IsTrue(logs.IsEmpty, $"Logs are not empty");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to carefully double check if this is expected. And if yes, it's ideal to have another test that shows logs being not empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant