-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Closed
Copy link
Labels
testIssues and PRs related to the tests.Issues and PRs related to the tests.
Description
Version
HEAD
Platform
No response
Subsystem
test
What steps will reproduce the bug?
node test/parallel/test-dns-lookupService-promises.js
How often does it reproduce? Is there a required condition?
On a clean linux chroot without /etc/services
(which is provided by nonessential netbase package, not guaranteed to be installed)
What is the expected behavior?
Test should allow dnsPromises.lookupService('127.0.0.1', 22)
to return service
with 22 or 'ssh'.
What do you see instead?
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
'22' !== 'ssh'
at /tmp/autopkgtest.2FaIUP/build.wly/src/test/parallel/test-dns-lookupService-promises.js:9:10
Additional information
It's the only test assuming getnameinfo will return the service name.
Metadata
Metadata
Assignees
Labels
testIssues and PRs related to the tests.Issues and PRs related to the tests.