Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions GitHubActionsTestLogger/MtpLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ CancellationToken cancellationToken
message.TestNode.Properties.SingleOrDefault<TestNodeStateProperty>()
?? throw new InvalidOperationException("Test node state property is missing.");

// Only consider updates related to tests that have concluded in some final state
if (state is DiscoveredTestNodeStateProperty or InProgressTestNodeStateProperty)
return;

var exception = state.TryGetException();

var testDefinition = new TestDefinition(
Expand Down
Loading