diff --git a/src/libraries/System.Diagnostics.EventLog/tests/System/Diagnostics/Reader/EventLogRecordTests.cs b/src/libraries/System.Diagnostics.EventLog/tests/System/Diagnostics/Reader/EventLogRecordTests.cs index 7808662bcb0201..c03f59d0cc293d 100644 --- a/src/libraries/System.Diagnostics.EventLog/tests/System/Diagnostics/Reader/EventLogRecordTests.cs +++ b/src/libraries/System.Diagnostics.EventLog/tests/System/Diagnostics/Reader/EventLogRecordTests.cs @@ -91,7 +91,8 @@ public void ToXml() public void ExceptionOnce() { if (PlatformDetection.IsWindows7 || // Null events in PowerShell log - PlatformDetection.IsWindows10Version22000OrGreater) // ActiveIssue("https://github.com/dotnet/runtime/issues/58829") + PlatformDetection.IsWindows10Version22000OrGreater || // Windows 11 and Windows Server 2022: + PlatformDetection.IsWindows10Version20348OrGreater) // ActiveIssue("https://github.com/dotnet/runtime/issues/58829") return; var query = new EventLogQuery("Application", PathType.LogName, "*[System]") { ReverseDirection = true }; var eventLog = new EventLogReader(query, Helpers.GetBookmark("Application", PathType.LogName));