Uh oh!
There was an error while loading. Please reload this page.
test: fix net-server-max-connections-close-makes-more-available - #1881
test: fix net-server-max-connections-close-makes-more-available#1881santigimeno wants to merge 1 commit into
Conversation
santigimeno
commented
Jun 3, 2015
- Handle connection 'error' event so the test ends.
santigimeno
commented
Jun 3, 2015
Before this change I was getting this error: Not sure if this change is correct though, as I'm not familiar with Promises |
targos
commented
Jun 3, 2015
I am not getting this error : Is this |
santigimeno
commented
Jun 3, 2015
I'm getting this error consistently in a FreeBSD 10.1 box |
bnoordhuis
commented
Jun 3, 2015
Refs #1855 and /cc @brendanashworth@Trott |
- Handle connection 'error' event so the test ends.
There was a problem hiding this comment.
Perhaps add a check to make sure the err.code is ECONNRESET just to make sure some other problem doesn't mask an issue here?
Trott
commented
Jun 3, 2015
This isn't happening for me (just built from master on OS X). If some setups send |
silverwind
commented
Jun 3, 2015
This test failed on a bunch of platforms before: https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/758/ |
brendanashworth
commented
Jun 3, 2015
I should have run the test on the CI, sorry for that. But there does seem to be an issue if an |
Trott
commented
Jun 3, 2015
This version in this pull request is failing for me on OS X: This would seem to suggest that whether or not an error event is triggered when a connection is rejected may be platform-dependent. |
silverwind
commented
Jun 3, 2015
CI with this PR: https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/759/ |
santigimeno
commented
Jun 3, 2015
@Trott I have applied your suggestions |
brendanashworth
commented
Jun 3, 2015
CI is happy, I'm happy. |
Trott
commented
Jun 3, 2015
I created an issue for the not-triggering-ECONNRESET thing. |
brendanashworth
commented
Jun 3, 2015
We should get this in. LGTM. |
Trott
commented
Jun 3, 2015
LGTM (Not sure if my LGTM counts for anything, but if it doesn't count for nothing, then there it is.) |
Fixes net-server-max-connections-close-makes-more-available Handles connection 'error' event so the test ends. PR-URL: #1881 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
brendanashworth
commented
Jun 3, 2015
Thanks everyone, landed in a804026. (I had to fix the commit log a little bit) |