diff --git a/test/internet/test-net-connect-unref.js b/test/internet/test-net-connect-unref.js index da4c77de4840c0..434b8077c0ab7e 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();