Skip to content

Commit f8f67d2

Browse files
committedNov 6, 2016
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 686b334 commit f8f67d2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed
 

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

-8
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@ function parent() {
4848
var spawn = require('child_process').spawn;
4949
var node = process.execPath;
5050

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

0 commit comments

Comments
 (0)
Please sign in to comment.