Skip to content

Commit 61ae592

Browse files
conectadotargos
authored andcommitted
test: remove setTimeout in test-net-connect-unref
Removes the setTimeout since if the test were to fail it would time out due to the tools/test.py wrapper PR-URL: #21969 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 254aa83 commit 61ae592

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/internet/test-net-connect-unref.js

-4
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,8 @@
2323
const common = require('../common');
2424
const net = require('net');
2525

26-
const TIMEOUT = 10 * 1000;
27-
2826
const client = net.createConnection(53, '8.8.8.8', function() {
2927
client.unref();
3028
});
3129

3230
client.on('close', common.mustNotCall());
33-
34-
setTimeout(common.mustNotCall(), TIMEOUT).unref();

0 commit comments

Comments
 (0)