diff --git a/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/DiagnosticTests.cs b/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/DiagnosticTests.cs index 7d18ed771a..3fc28ea70c 100644 --- a/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/DiagnosticTests.cs +++ b/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/DiagnosticTests.cs @@ -207,11 +207,11 @@ private async Task AssertDiagnosticReportWasGeneratedAsync(TestHostResul string diagContentsPattern = """ -\[.+ - Information\] Version: .+ -\[.+ - Information\] Logging mode: .+ -\[.+ - Information] Logging level: .+ -\[.+ - Information\] CreateBuilderAsync entry time: .+ -\[.+ - Information\] PID: .+ +.+ Microsoft.Testing.Platform.Builder.TestApplication INFORMATION Version: .+ +.+ Microsoft.Testing.Platform.Builder.TestApplication INFORMATION Logging mode: .+ +.+ Microsoft.Testing.Platform.Builder.TestApplication INFORMATION Logging level: .+ +.+ Microsoft.Testing.Platform.Builder.TestApplication INFORMATION CreateBuilderAsync entry time: .+ +.+ Microsoft.Testing.Platform.Builder.TestApplication INFORMATION PID: .+ """; (bool isMatch, string content) = await CheckDiagnosticContentsMatchAsync(match.Value, diagContentsPattern); Assert.IsTrue(isMatch, $"{content}\n{diagContentsPattern}");