From 6ebcfde19b42a9422388c7ac5fc471130c20cb53 Mon Sep 17 00:00:00 2001 From: Karel Zikmund Date: Tue, 27 Jul 2021 14:55:07 +0200 Subject: [PATCH] Cleanup disabled test conditions --- .../tests/FunctionalTests/GetHostEntryTest.cs | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs b/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs index 467b8e9115c022..ae5cb3b067c752 100644 --- a/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs +++ b/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs @@ -26,7 +26,7 @@ public async Task Dns_GetHostEntryAsync_IPAddress_Ok() // [ActiveIssue("https://github.com/dotnet/runtime/issues/27622")] PlatformDetection.IsNotArmNorArm64Process && // [ActiveIssue("https://github.com/dotnet/runtime/issues/1488", TestPlatforms.OSX)] - PlatformDetection.IsNotOSX && + !PlatformDetection.IsOSX && // [ActiveIssue("https://github.com/dotnet/runtime/issues/51377", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)] !PlatformDetection.IsiOS && !PlatformDetection.IstvOS && !PlatformDetection.IsMacCatalyst && // [ActiveIssue("https://github.com/dotnet/runtime/issues/55271")] @@ -39,12 +39,6 @@ public async Task Dns_GetHostEntryAsync_IPAddress_Ok() [InlineData(TestSettings.LocalHost)] public async Task Dns_GetHostEntry_HostString_Ok(string hostName) { - if (PlatformDetection.IsSLES) - { - // See https://github.com/dotnet/runtime/issues/55271 - throw new SkipTestException("SLES Tests environment is not configured for this test to work."); - } - try { await TestGetHostEntryAsync(() => Task.FromResult(Dns.GetHostEntry(hostName))); @@ -93,12 +87,6 @@ public async Task Dns_GetHostEntry_HostString_Ok(string hostName) [InlineData(TestSettings.LocalHost)] public async Task Dns_GetHostEntryAsync_HostString_Ok(string hostName) { - if (PlatformDetection.IsSLES) - { - // See https://github.com/dotnet/runtime/issues/55271 - throw new SkipTestException("SLES Tests environment is not configured for this test to work."); - } - await TestGetHostEntryAsync(() => Dns.GetHostEntryAsync(hostName)); }