-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly use
127.0.0.1
in test suite
When `Nothing` is used as a host, it gets defaulted to `localhost`, which resolves differently in IPv6 vs IPv4. Remove TlsFailHostName test, because it depends on having two names for the same server (`localhost` vs `127.0.0.1`), but the choice of two names depends on what `localhost` resolves to. The test doesn't add much value, since we still verify that the certificate is rejected if it is not set as a root certificate.
- Loading branch information
1 parent
978cba0
commit 5a05d57
Showing
2 changed files
with
4 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters