diff options
author | Anirudh Agnihotry <anirudhagnihotry098@gmail.com> | 2017-10-25 01:08:14 +0300 |
---|---|---|
committer | Stephen Toub <stoub@microsoft.com> | 2017-10-25 01:08:14 +0300 |
commit | d92705215952d8c2ec89254d789f8bf9a445788a (patch) | |
tree | cdc0f19893dcdce8b06340cc5143bdab29d98acb /src | |
parent | b88ad22208c22d0d87a794fda9bed94101963288 (diff) |
Event Log Tests disabled for Windows 7 (#24845)
* Event Log Tests disabled for Windows 7
* review completed
Diffstat (limited to 'src')
-rw-r--r-- | src/System.Diagnostics.EventLog/tests/Helpers.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Diagnostics.EventLog/tests/Helpers.cs b/src/System.Diagnostics.EventLog/tests/Helpers.cs index a1208b8886..056a3a7d1e 100644 --- a/src/System.Diagnostics.EventLog/tests/Helpers.cs +++ b/src/System.Diagnostics.EventLog/tests/Helpers.cs @@ -7,6 +7,6 @@ namespace System.Diagnostics.Tests internal class Helpers { public static bool IsElevatedAndSupportsEventLogs { get => AdminHelpers.IsProcessElevated() && SupportsEventLogs; } - public static bool SupportsEventLogs { get => PlatformDetection.IsNotWindowsNanoServer; } + public static bool SupportsEventLogs { get => PlatformDetection.IsNotWindowsNanoServer && !PlatformDetection.IsWindows7; } } } |