summaryrefslogtreecommitdiff
path: root/test/internet
diff options
context:
space:
mode:
Diffstat (limited to 'test/internet')
-rw-r--r--test/internet/test-net-connect-unref.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/internet/test-net-connect-unref.js b/test/internet/test-net-connect-unref.js
index da4c77de48..434b8077c0 100644
--- a/test/internet/test-net-connect-unref.js
+++ b/test/internet/test-net-connect-unref.js
@@ -23,12 +23,8 @@
const common = require('../common');
const net = require('net');
-const TIMEOUT = 10 * 1000;
-
const client = net.createConnection(53, '8.8.8.8', function() {
client.unref();
});
client.on('close', common.mustNotCall());
-
-setTimeout(common.mustNotCall(), TIMEOUT).unref();