Skip to content

test: test-net-dns-error.js fails on SunOS

Rodrigo Muino Tomonari requested to merge github/fork/batrla/master into master

Test test-net-dns-error.js causes assertion failure on SunOS, test expects ENOTFOUND, but OS returns EAI_FAIL.

Maximum length of a host name is 63 characters. Test test-net-dns-error.js makes a connection attempt to invalid host name (longer than maximum by 1). Such connection attempt on SunOS returns permanent failure (EAI_FAIL) as invalid hostname won't be ever resolved.

Checklist

Merge request reports

Loading