From cc0a6dc8da927cc7891239f78367c889567fc509 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Tue, 1 Aug 2017 19:51:29 +0200 Subject: [PATCH] Disable test on mono managed http. --- src/NzbDrone.Common.Test/Http/HttpClientFixture.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/NzbDrone.Common.Test/Http/HttpClientFixture.cs b/src/NzbDrone.Common.Test/Http/HttpClientFixture.cs index b903e85b4..c20852e86 100644 --- a/src/NzbDrone.Common.Test/Http/HttpClientFixture.cs +++ b/src/NzbDrone.Common.Test/Http/HttpClientFixture.cs @@ -147,6 +147,11 @@ namespace NzbDrone.Common.Test.Http [Test] 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") .AddQueryParam("url", $"https://sonarr.tv/") .Build();