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
Santiago Gimeno 2016-11-04 09:55:36 +01:00
parent 686b334836
commit f8f67d253e
No known key found for this signature in database
GPG Key ID: F28C3C8DA33C03BE
1 changed files with 0 additions and 8 deletions

View File

@ -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'