Skip to content

Conversation

@Trott
Copy link
Member

@Trott Trott commented Sep 9, 2015

Operating systems can and do return invalid hostnames if that's
what they have (for example) in /etc/hosts. Test passes if no
error is thrown and the hostname string is not empty.

Fixes: #2468

@Trott Trott added the test Issues and PRs related to the tests. label Sep 9, 2015
@Trott
Copy link
Member Author

Trott commented Sep 9, 2015

@bnoordhuis
Copy link
Member

LGTM

@Trott
Copy link
Member Author

Trott commented Sep 9, 2015

Two CI failures appear unrelated. Meanwhile, here's a CI that I've kinda sorta tricked into running the internet tests: https://ci.nodejs.org/job/node-test-commit/534/

The FreeBSD failures are unrelated. (That's a different test that needs to be sorted.) This fixes the test on fedora22 so hooray for that. There is still an issue with Windows, but that's not new and I suspect it's unrelated. Timeout. I'll investigate but I'd love to get this merged first.

@mscdex mscdex added the dns Issues and PRs related to the dns subsystem. label Sep 9, 2015
Operating systems can and do return invalid hostnames if that's
what they have (for example) in /etc/hosts. Test passes if no
error is thrown and the hostname string is not empty.

Fixes: nodejs#2468
@Trott Trott force-pushed the test-dns-hostname-check branch from c190178 to cd12f23 Compare September 10, 2015 21:25
Trott added a commit that referenced this pull request Sep 10, 2015
Operating systems can and do return invalid hostnames if that's
what they have (for example) in /etc/hosts. Test passes if no
error is thrown and the hostname string is not empty.

Fixes: #2468
PR-URL: #2785
Reviewed-By: Ben Noordhuis <[email protected]>
@Trott
Copy link
Member Author

Trott commented Sep 10, 2015

Landed in a1949e8

@Trott Trott closed this Sep 10, 2015
Trott added a commit that referenced this pull request Sep 11, 2015
Operating systems can and do return invalid hostnames if that's
what they have (for example) in /etc/hosts. Test passes if no
error is thrown and the hostname string is not empty.

Fixes: #2468
PR-URL: #2785
Reviewed-By: Ben Noordhuis <[email protected]>
Trott added a commit that referenced this pull request Sep 12, 2015
Operating systems can and do return invalid hostnames if that's
what they have (for example) in /etc/hosts. Test passes if no
error is thrown and the hostname string is not empty.

Fixes: #2468
PR-URL: #2785
Reviewed-By: Ben Noordhuis <[email protected]>
@rvagg rvagg mentioned this pull request Sep 12, 2015
@Fishrock123 Fishrock123 mentioned this pull request Sep 13, 2015
7 tasks
@rvagg rvagg mentioned this pull request Sep 22, 2015
@Trott Trott deleted the test-dns-hostname-check branch January 9, 2022 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dns Issues and PRs related to the dns subsystem. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants