Skip to content

test: improve check in test-os

Rodrigo Muino Tomonari requested to merge github/fork/Trott/relax-os into master

The check for os.networkInterfaces() in test-os.js may be too strict. It's apparently possible for a machine to be configured with multiple IPv4 loopback interfaces. Increase specificity of filter to check on only the object we expect.

Fixes: https://github.com/nodejs/node/issues/14654

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test os

Merge request reports

Loading