Skip to content

Commit ff987e1

Browse files
committed
Set the autoSelectFamily option to false
1 parent 1de8f36 commit ff987e1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/sequential/test-http-regr-gh-2928.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ const response = Buffer.from('HTTP/1.1 200 OK\r\n\r\n');
1616
function execAndClose() {
1717
process.stdout.write('.');
1818

19-
const socket = net.connect(common.PORT);
19+
const socket = net.connect({
20+
port: common.PORT,
21+
autoSelectFamily: false
22+
});
2023
socket.on('end', socket.end);
2124
socket.on('data', function(chunk) {
2225
process.stdout.write('+');

0 commit comments

Comments
 (0)