Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: fix flaky http-end-throw-socket-handling
This test was sometimes failing on `OS X` because the internal timeout
was fired before the test completed. The reason was that sometimes some
of the connections were taking longer to be established. Removing the
timeout seems to fix the issue.
  • Loading branch information
santigimeno committed Feb 20, 2016
commit 211a37d13e096da198493755e4f5f2d9b7f77e0e
5 changes: 0 additions & 5 deletions test/parallel/test-http-end-throw-socket-handling.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ server.listen(common.PORT, function() {
}
});

setTimeout(function() {
process.removeListener('uncaughtException', catcher);
throw new Error('Taking too long!');
}, common.platformTimeout(1000)).unref();

process.on('uncaughtException', catcher);
var errors = 0;
function catcher() {
Expand Down