mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
833e342f15
PR-URL: https://github.com/nodejs/node/pull/52474 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
11 lines
323 B
JavaScript
11 lines
323 B
JavaScript
'use strict';
|
|
|
|
// Flags: --network-family-autoselection-attempt-timeout=123
|
|
|
|
const { platformTimeout } = require('../common');
|
|
|
|
const assert = require('assert');
|
|
const { getDefaultAutoSelectFamilyAttemptTimeout } = require('net');
|
|
|
|
assert.strictEqual(getDefaultAutoSelectFamilyAttemptTimeout(), platformTimeout(123 * 10));
|