From: Karel Zikmund Date: Wed, 28 Jul 2021 11:44:51 +0000 (+0200) Subject: Cleanup disabled test conditions (#56381) X-Git-Tag: accepted/tizen/unified/20220110.054933~859 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0f8fff349bf23175b7b0f1edbfd935ca680cbc4;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Cleanup disabled test conditions (#56381) --- diff --git a/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs b/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs index 467b8e9..ae5cb3b 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 @@ namespace System.Net.NameResolution.Tests // [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 @@ namespace System.Net.NameResolution.Tests [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 @@ namespace System.Net.NameResolution.Tests [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)); }