Skip to content

Commit c6038c9

Browse files
committed
tests: use non-routable host for connect timeout test
1 parent 96fdd05 commit c6038c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/connection/test-connect-timeout.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if (!external) {
1212
common.skipTest('no external network interfaces');
1313
}
1414

15-
var connection = common.createConnection({host: '1.1.1.1', port: common.fakeServerPort, connectTimeout: 500});
15+
var connection = common.createConnection({host: '10.255.255.1', port: common.fakeServerPort, connectTimeout: 500});
1616

1717
var testTimeout = setTimeout(function() {
1818
connection.destroy();

0 commit comments

Comments
 (0)