FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: fix test-net-keepalive for AIX by imran-iq · Pull Request #3458 · nodejs/node · GitHub

/ node Public

test: fix test-net-keepalive for AIX - #3458

Closed
imran-iq wants to merge 1 commit into
nodejs:masterfrom
imran-iq:test
Closed

test: fix test-net-keepalive for AIX#3458
imran-iq wants to merge 1 commit into
nodejs:masterfrom
imran-iq:test

Conversation

Copy link
Copy Markdown
Contributor

Fixed an intermittent issue on AIX where the 100ms timeout was reached
before the 'connection' event was fired. This resulted in a failure as
serverConnection would be undefined and the assert.equal would throw an
error. Changed the flow of the test so that the timeout is only set
after a connection has been made.

Fixed an intermittent issue on AIX where the 100ms timeout was reached
before the 'connection' event was fired. This resulted in a failure as
serverConnection would be undefined and the assert.equal would throw an
error. Changed the flow of the test so that the timeout is only set
after a connection has been made.

Copy link
Copy Markdown
Member

lgtm

While the failures were seen on AIX, there is no reason the same failure could not occur on other platforms with the original test so fixing for all make sense.

mhdawson self-assigned this Oct 20, 2015
mhdawson added the test Issues and PRs related to the tests. label Oct 20, 2015

Copy link
Copy Markdown
Member

mscdex added the net Issues and PRs related to the net subsystem. label Oct 20, 2015

jasnell commented Oct 21, 2015

Copy link
Copy Markdown
Member

LGTM

jasnell commented Oct 21, 2015

Copy link
Copy Markdown
Member

@mhdawson ... there were failures on ppc ... likely unrelated but can you verify before I land?

Copy link
Copy Markdown
Member

Those are known failures on PPC covered by existing defects so we are good to land

jasnell pushed a commit that referenced this pull request Oct 21, 2015
Fixed an intermittent issue on AIX where the 100ms timeout was reached
before the 'connection' event was fired. This resulted in a failure as
serverConnection would be undefined and the assert.equal would throw an
error. Changed the flow of the test so that the timeout is only set
after a connection has been made.

Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
PR-URL: #3458

jasnell commented Oct 21, 2015

Copy link
Copy Markdown
Member

Landed in 87d42b0

jasnell closed this Oct 21, 2015
rvagg pushed a commit that referenced this pull request Oct 22, 2015
Fixed an intermittent issue on AIX where the 100ms timeout was reached
before the 'connection' event was fired. This resulted in a failure as
serverConnection would be undefined and the assert.equal would throw an
error. Changed the flow of the test so that the timeout is only set
after a connection has been made.

Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
PR-URL: #3458
jasnell pushed a commit that referenced this pull request Oct 26, 2015
Fixed an intermittent issue on AIX where the 100ms timeout was reached
before the 'connection' event was fired. This resulted in a failure as
serverConnection would be undefined and the assert.equal would throw an
error. Changed the flow of the test so that the timeout is only set
after a connection has been made.

Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
PR-URL: #3458

jasnell commented Oct 26, 2015

Copy link
Copy Markdown
Member

Landed in v4.x-staging in e99823b

jasnell pushed a commit that referenced this pull request Oct 29, 2015
Fixed an intermittent issue on AIX where the 100ms timeout was reached
before the 'connection' event was fired. This resulted in a failure as
serverConnection would be undefined and the assert.equal would throw an
error. Changed the flow of the test so that the timeout is only set
after a connection has been made.

Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
PR-URL: #3458
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

net Issues and PRs related to the net subsystem. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL