mirror of https://github.com/nodejs/node.git
test: fix flaky test-net-GH-5504
The test is failing on `SmartOS` quite often. Removing the timeout seems to fix it. Fixes: https://github.com/nodejs/node/issues/8930 PR-URL: https://github.com/nodejs/node/pull/9461 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>pull/9461/head
parent
686b334836
commit
f8f67d253e
|
@ -48,14 +48,6 @@ function parent() {
|
|||
var spawn = require('child_process').spawn;
|
||||
var node = process.execPath;
|
||||
|
||||
setTimeout(function() {
|
||||
if (s) s.kill();
|
||||
if (c) c.kill();
|
||||
setTimeout(function() {
|
||||
throw new Error('hang');
|
||||
});
|
||||
}, common.platformTimeout(2000)).unref();
|
||||
|
||||
var s = spawn(node, [__filename, 'server'], {
|
||||
env: Object.assign(process.env, {
|
||||
NODE_DEBUG: 'net'
|
||||
|
|
Loading…
Reference in New Issue