diff --git a/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs b/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs index c042e993ecc484..369a6d15407f42 100644 --- a/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs +++ b/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs @@ -203,11 +203,6 @@ public async Task GetAsync_IPBasedUri_Success(IPAddress address) var options = new GenericLoopbackOptions { Address = address }; - if (PlatformDetection.IsAndroid && options.UseSsl && address == IPAddress.IPv6Loopback) - { - throw new SkipTestException("TargetHost cannot be set to an IPv6 address on Android because the string doesn't conform to the STD 3 ASCII rules"); - } - await LoopbackServerFactory.CreateServerAsync(async (server, url) => { _output.WriteLine(url.ToString()); @@ -286,11 +281,6 @@ public async Task GetAsync_SecureAndNonSecureIPBasedUri_CorrectlyFormatted(IPAdd return; } - if (PlatformDetection.IsAndroid && useSsl && address == IPAddress.IPv6Loopback) - { - throw new SkipTestException("TargetHost cannot be set to an IPv6 address on Android because the string doesn't conform to the STD 3 ASCII rules"); - } - var options = new LoopbackServer.Options { Address = address, UseSsl = useSsl }; bool connectionAccepted = false; string host = ""; diff --git a/src/libraries/System.Net.Http/tests/FunctionalTests/SocksProxyTest.cs b/src/libraries/System.Net.Http/tests/FunctionalTests/SocksProxyTest.cs index a70f1c4cb5979c..5916c82fb60b68 100644 --- a/src/libraries/System.Net.Http/tests/FunctionalTests/SocksProxyTest.cs +++ b/src/libraries/System.Net.Http/tests/FunctionalTests/SocksProxyTest.cs @@ -35,11 +35,6 @@ public async Task TestLoopbackAsync(string scheme, bool useSsl, bool useAuth, st return; } - if (PlatformDetection.IsAndroid && useSsl && host == "::1") - { - throw new SkipTestException("TargetHost cannot be set to an IPv6 address on Android because the string doesn't conform to the STD 3 ASCII rules"); - } - await LoopbackServerFactory.CreateClientAndServerAsync( async uri => {