Skip to content

Commit

Permalink
[tests] Ignore AcceptSslCertificatesWithCustomValidationCallbackNSUrl…
Browse files Browse the repository at this point in the history
…SessionHandler - fails due to external factors. (#21913)

The test fails with:

    [FAIL] AcceptSslCertificatesWithCustomValidationCallbackNSUrlSessionHandler("https://self-signed.badssl.com/") :   Status code was not success
    [FAIL] AcceptSslCertificatesWithCustomValidationCallbackNSUrlSessionHandler("https://wrong.host.badssl.com/") :   Status code was not success

Debugging a bit it seems that these return 404 "Not Found" now, so it seems something changed on badssl.com's side.

We should probably use a different server we control at some point, but filed
an issue for now (#21912).
  • Loading branch information
rolfbjarne authored Jan 8, 2025
1 parent be851fe commit 3359149
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/monotouch-test/System.Net.Http/MessageHandlers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ public void AcceptSslCertificatesServicePointManager (Type handlerType)
}

#if NET
[Ignore ("https://github.com/xamarin/xamarin-macios/issues/21912")]
[TestCase ("https://self-signed.badssl.com/")]
[TestCase ("https://wrong.host.badssl.com/")]
public void AcceptSslCertificatesWithCustomValidationCallbackNSUrlSessionHandler (string url)
Expand Down

10 comments on commit 3359149

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

Please sign in to comment.