From e7f41e7293bb44f350c9e398e6a0f42eed1904f7 Mon Sep 17 00:00:00 2001 From: Geoffrey Kizer Date: Sat, 7 Nov 2020 15:48:29 -0800 Subject: [PATCH] clarify http version test --- src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs b/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs index 1ee9d509fc06c..4eb602cb55f03 100644 --- a/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs +++ b/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs @@ -78,7 +78,7 @@ public async Task GetAsync_RequestVersion0X_ThrowsNotSupportedException(int mino using (HttpClient client = CreateHttpClient()) { - HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, "http://bing.com"); + HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, "http://nosuchhost.invalid"); request.Version = new Version(0, minorVersion); Task getResponseTask = client.SendAsync(TestAsync, request);