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 <rtrott@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 254aa83 commit 61ae592

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,8 @@
2323
constcommon=require('../common');
2424
constnet=require('net');
2525

26-
constTIMEOUT=10*1000;
27-
2826
constclient=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)