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);