From 4a95b42878b90237cd79aa82bd69fdb3aa8d5d4e Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Mon, 27 Mar 2023 11:40:46 +0100 Subject: [PATCH 1/2] [/Mono.Android-Tests] Revert back to example.com Commit 112c832 broke the `QuoteInvalidQuoteUrlsShouldWork`. It is now reporting the following error. ``` System.Net.WebException : net_http_ssl_connection_failed ----> System.Net.Http.HttpRequestException : net_http_ssl_connection_failed ----> System.Security.Authentication.AuthenticationException : net_auth_SSPI ----> Interop+AndroidCrypto+SslException : Exception_WasThrown, Interop+AndroidCrypto+SslException ``` Revert back to use the previous url until we can figure this one out. --- tests/Mono.Android-Tests/System.Net/ProxyTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Mono.Android-Tests/System.Net/ProxyTest.cs b/tests/Mono.Android-Tests/System.Net/ProxyTest.cs index a8149eccd3c..efe746c7cee 100644 --- a/tests/Mono.Android-Tests/System.Net/ProxyTest.cs +++ b/tests/Mono.Android-Tests/System.Net/ProxyTest.cs @@ -13,7 +13,7 @@ public class ProxyTest { [Test] public void QuoteInvalidQuoteUrlsShouldWork () { - string url = "https://bing.com/?query&foo|bar"; + string url = "http://example.com/?query&foo|bar"; var request = (HttpWebRequest) WebRequest.Create (url); request.Method = "GET"; var response = (HttpWebResponse) request.GetResponse (); From 11e2d68fb576625002c0de1f0364705aeaea8ac7 Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Tue, 28 Mar 2023 16:44:22 +0100 Subject: [PATCH 2/2] Use an MS url --- tests/Mono.Android-Tests/System.Net/ProxyTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Mono.Android-Tests/System.Net/ProxyTest.cs b/tests/Mono.Android-Tests/System.Net/ProxyTest.cs index efe746c7cee..a46f56f70f0 100644 --- a/tests/Mono.Android-Tests/System.Net/ProxyTest.cs +++ b/tests/Mono.Android-Tests/System.Net/ProxyTest.cs @@ -13,7 +13,7 @@ public class ProxyTest { [Test] public void QuoteInvalidQuoteUrlsShouldWork () { - string url = "http://example.com/?query&foo|bar"; + string url = "http://www.msftconnecttest.com/connecttest.txt?query&foo|bar"; var request = (HttpWebRequest) WebRequest.Create (url); request.Method = "GET"; var response = (HttpWebResponse) request.GetResponse ();