Skip to content

Commit 57043a3

Browse files
committed
Fix diag test
1 parent 459a5e6 commit 57043a3

File tree

1 file changed

+5
-5
lines changed
  • test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests

1 file changed

+5
-5
lines changed

test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/DiagnosticTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,11 @@ private async Task<string> AssertDiagnosticReportWasGeneratedAsync(TestHostResul
207207

208208
string diagContentsPattern =
209209
"""
210-
\[.+ - Information\] Version: .+
211-
\[.+ - Information\] Logging mode: .+
212-
\[.+ - Information] Logging level: .+
213-
\[.+ - Information\] CreateBuilderAsync entry time: .+
214-
\[.+ - Information\] PID: .+
210+
.+ Microsoft.Testing.Platform.Builder.TestApplication INFORMATION Version: .+
211+
.+ Microsoft.Testing.Platform.Builder.TestApplication INFORMATION Logging mode: .+
212+
.+ Microsoft.Testing.Platform.Builder.TestApplication INFORMATION Logging level: .+
213+
.+ Microsoft.Testing.Platform.Builder.TestApplication INFORMATION CreateBuilderAsync entry time: .+
214+
.+ Microsoft.Testing.Platform.Builder.TestApplication INFORMATION PID: .+
215215
""";
216216
(bool isMatch, string content) = await CheckDiagnosticContentsMatchAsync(match.Value, diagContentsPattern);
217217
Assert.IsTrue(isMatch, $"{content}\n{diagContentsPattern}");

0 commit comments

Comments
 (0)