Skip to content

Skip the SNI test until it can verify SNI again - #1078

Merged
jrfnl merged 1 commit into
developfrom
feature/1077-skip-sni-test
Aug 31, 2026
Merged

Skip the SNI test until it can verify SNI again#1078
jrfnl merged 1 commit into
developfrom
feature/1077-skip-sni-test

Conversation

@schlessera

Copy link
Copy Markdown
Member

testSNISupport requests an HTTPS host and expects a 200, which only demonstrates something if that host serves a different certificate when no SNI is sent. It no longer does, so a transport which quietly stopped sending SNI would still pass the test.

On top of that, the host it uses now answers 403 to every client, including a plain curl, so the test currently fails for reasons which have nothing to do with the library. That is what brought this to light.

Repointing it at another host would get the suite green again, but it would leave a test standing which looks like it covers something it does not. Skipping it states what is actually the case, and keeps the intent visible for whoever picks it up. The original docblock stays, with a note explaining the situation, and both the note and the skip message link to the issue.

Details, including the certificate comparison across several hosts and the options for getting real coverage back, are in #1077.

Refs #1077

The test requests an HTTPS host and expects a 200, which only demonstrates
anything if that host serves a different certificate when no SNI is sent. It
no longer does, so a transport which quietly stopped sending SNI would still
pass. The host has meanwhile also started answering 403 to every client,
including a plain `curl`, so the test fails for reasons entirely unrelated to
the library.

Pointing it at another host would get the suite green again, but it would
also leave a test standing which looks like it covers something it does not.
Skipping it says what is actually the case, and keeps the intent visible for
whoever picks it up.

Refs #1077, which has the measurements and the options for getting real
coverage back.
@jrfnl
jrfnl merged commit af7011c into develop Aug 31, 2026
33 checks passed
@jrfnl
jrfnl deleted the feature/1077-skip-sni-test branch August 31, 2026 08:06
@jrfnl jrfnl mentioned this pull request Aug 31, 2026
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants