Skip to content

Commit

Permalink
[monotouch-test] Ignore failing tests on Mac Catalyst/ARM64.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfbjarne committed Jul 21, 2021
1 parent 07c45b2 commit 836e8c1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/monotouch-test/System.Net.Http/MessageHandlers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ public void DnsFailure (Type handlerType)
[Test]
public void TestNSUrlSessionHandlerCookies ()
{
#if __MACCATALYST__
if (Runtime.IsARM64CallingConvention)
Assert.Ignore ("https://github.com/dotnet/runtime/issues/55736");
#endif
var managedCookieResult = false;
var nativeCookieResult = false;
Exception ex = null;
Expand Down Expand Up @@ -133,6 +137,11 @@ public void TestNSUrlSessionHandlerCookies ()
[Test]
public void TestNSUrlSessionHandlerCookieContainer ()
{
#if __MACCATALYST__
if (Runtime.IsARM64CallingConvention)
Assert.Ignore ("https://github.com/dotnet/runtime/issues/55736");
#endif

var url = NetworkResources.Httpbin.CookiesUrl;
var cookie = new Cookie ("cookie", "chocolate-chip");
var cookieContainer = new CookieContainer ();
Expand Down Expand Up @@ -370,6 +379,11 @@ public void RejectSslCertificatesServicePointManager (Type handlerType)
Assert.Ignore ("Fails on macOS 10.10: https://github.com/xamarin/maccore/issues/1645");
#endif

#if __MACCATALYST__
if (Runtime.IsARM64CallingConvention)
Assert.Ignore ("https://github.com/dotnet/runtime/issues/55736");
#endif

bool validationCbWasExecuted = false;
bool customValidationCbWasExecuted = false;
bool invalidServicePointManagerCbWasExcuted = false;
Expand Down

0 comments on commit 836e8c1

Please # to comment.