Uh oh!
There was an error while loading. Please reload this page.
test: remove timer from test-http-1.0 - #5129
Conversation
Trott
commented
Feb 7, 2016
Can we change wrap the callback function in |
Trott
commented
Feb 7, 2016
I think one thing the |
jasnell
commented
Feb 7, 2016
LGTM if CI is green |
It's possible that the `end` event is emitted after the timeout fires causing the test to fail. Just remove the timer. If for some reason the `end` would never fire, the test will fail with a timeout.
5233710 to
d77f305Comparesantigimeno
commented
Feb 8, 2016
PR update with @Trott suggestion. |
santigimeno
commented
Feb 8, 2016
@Trott Do you think I should close the PR then? Or can we try how it goes without the timer? |
Trott
commented
Feb 8, 2016
@santigimeno Would a decent middle ground be to leave the (Or maybe we can confirm that the test runner on CI will close the server if the test leaves it open? Maybe create a test that runs before all others that opens a server on |
santigimeno
commented
Feb 16, 2016
@Trott Sorry for the delay answering this, I've been very busy. |
Trott
commented
Feb 16, 2016
jasnell
commented
Feb 17, 2016
Build bot failure on Windows in CI, running again: https://ci.nodejs.org/job/node-test-pull-request/1685/ |
jasnell
commented
Mar 21, 2016
@Trott ... any further issues with this? |
Trott
commented
Mar 21, 2016
@jasnell No issues from me. LGTM |
It's possible that the `end` event is emitted after the timeout fires causing the test to fail. Just remove the timer. If for some reason the `end` would never fire, the test will fail with a timeout. PR-URL: #5129 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
jasnell
commented
Mar 22, 2016
Landed in 6a3d38f |
It's possible that the `end` event is emitted after the timeout fires causing the test to fail. Just remove the timer. If for some reason the `end` would never fire, the test will fail with a timeout. PR-URL: #5129 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
It's possible that the `end` event is emitted after the timeout fires causing the test to fail. Just remove the timer. If for some reason the `end` would never fire, the test will fail with a timeout. PR-URL: #5129 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
It's possible that the `end` event is emitted after the timeout fires causing the test to fail. Just remove the timer. If for some reason the `end` would never fire, the test will fail with a timeout. PR-URL: #5129 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
It's possible that the
endevent is emitted after the timeout firescausing the test to fail. Just remove the timer. If for some reason the
endwould never fire, the test will fail with a timeout.It tries to fix the issue described here: #4600 (comment), that I also have rarely experienced on
Debian Jessie 64.