1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-27 08:12:48 +00:00

Disable test on mono managed http.

This commit is contained in:
Taloth Saldono 2017-08-01 19:51:29 +02:00 committed by Qstick
parent 96d97f873a
commit cc0a6dc8da

View file

@ -147,6 +147,11 @@ public void should_follow_redirects()
[Test] [Test]
public void should_follow_redirects_to_https() public void should_follow_redirects_to_https()
{ {
if (typeof(TDispatcher) == typeof(ManagedHttpDispatcher) && PlatformInfo.IsMono)
{
Assert.Ignore("Will fail on tls1.2 via managed dispatcher, ignore.");
}
var request = new HttpRequestBuilder($"http://{_httpBinHost}/redirect-to") var request = new HttpRequestBuilder($"http://{_httpBinHost}/redirect-to")
.AddQueryParam("url", $"https://sonarr.tv/") .AddQueryParam("url", $"https://sonarr.tv/")
.Build(); .Build();