Skip to content

Commit 6eb6816

Browse files
santigimenoevanlucas
authored andcommitted
test: fix flaky test-net-GH-5504
The test is failing on `SmartOS` quite often. Removing the timeout seems to fix it. Fixes: #8930 PR-URL: #9461 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent f640baf commit 6eb6816

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

‎test/sequential/test-net-GH-5504.js‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@ function parent(){
4848
varspawn=require('child_process').spawn;
4949
varnode=process.execPath;
5050

51-
setTimeout(function(){
52-
if(s)s.kill();
53-
if(c)c.kill();
54-
setTimeout(function(){
55-
thrownewError('hang');
56-
});
57-
},common.platformTimeout(2000)).unref();
58-
5951
vars=spawn(node,[__filename,'server'],{
6052
env: Object.assign(process.env,{
6153
NODE_DEBUG: 'net'

0 commit comments

Comments
(0)