Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test/parallel/test-http-client-abort3.js
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
ronag and lpinca authored Feb 3, 2021
commit d103ec1b033d9051f7cef91423b039b0a09b62f2
9 changes: 0 additions & 9 deletions test/parallel/test-http-client-abort3.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@ const http = require('http');
const net = require('net');
const assert = require('assert');
Comment thread
ronag marked this conversation as resolved.
Outdated

{
const req = http.get('http://[2604:1380:45f1:3f00::1]:4002');

req.on('error', common.mustCall((err) => {
assert(err.code === 'ENETUNREACH' || err.code === 'EHOSTUNREACH');
}));
req.abort();
}

function createConnection() {
const socket = new net.Socket();

Expand Down