Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inspector: wait for both sides closing #8505

Closed
wants to merge 1 commit into from
Closed

inspector: wait for both sides closing #8505

wants to merge 1 commit into from

Conversation

eugeneo
Copy link
Contributor

@eugeneo eugeneo commented Sep 12, 2016

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

Inspector test, no run-time changes.

Description of change

Removes race condition when test relied on both sides of the socket
to be closed on the same UV event loop iteration.

Fixes: #8498

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Sep 12, 2016
@cjihrig
Copy link
Contributor

cjihrig commented Sep 12, 2016

LGTM

@mscdex mscdex added the inspector Issues and PRs related to the V8 inspector protocol label Sep 12, 2016
@bnoordhuis
Copy link
Member

LGTM. Can you s/Wait/wait/ in the status line?

CI: https://ci.nodejs.org/job/node-test-pull-request/4023/

Removes race condition when test relied on both sides of the socket
to be closed on the same UV event loop iteration.

Fixes: #8498
@eugeneo eugeneo changed the title inspector: Wait for both sides closing inspector: wait for both sides closing Sep 13, 2016
@eugeneo
Copy link
Contributor Author

eugeneo commented Sep 13, 2016

Updated the status line. Thank you for the review.

@bnoordhuis
Copy link
Member

CI seems pretty happy. Infrastructure failure on one of the arm buildbots ("hudson.remoting.ChannelClosedException: channel is already closed".)

@saghul
Copy link
Member

saghul commented Sep 17, 2016

LGTM. Tested locally, works! 👍

Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@indutny indutny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

eugeneo pushed a commit that referenced this pull request Sep 22, 2016
Removes race condition when test relied on both sides of the socket
to be closed on the same UV event loop iteration.

Fixes: #8498
PR-URL: #8505
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-by: Fedor Indutny <fedor@indutny.com>
@eugeneo
Copy link
Contributor Author

eugeneo commented Sep 22, 2016

Landed as a67f11d

@eugeneo eugeneo closed this Sep 22, 2016
MylesBorins pushed a commit to MylesBorins/node that referenced this pull request Sep 28, 2016
Removes race condition when test relied on both sides of the socket
to be closed on the same UV event loop iteration.

Fixes: nodejs#8498
PR-URL: nodejs#8505
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-by: Fedor Indutny <fedor@indutny.com>
jasnell pushed a commit that referenced this pull request Sep 29, 2016
Removes race condition when test relied on both sides of the socket
to be closed on the same UV event loop iteration.

Fixes: #8498
PR-URL: #8505
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-by: Fedor Indutny <fedor@indutny.com>
MylesBorins pushed a commit that referenced this pull request Sep 30, 2016
Removes race condition when test relied on both sides of the socket
to be closed on the same UV event loop iteration.

Fixes: #8498
PR-URL: #8505
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-by: Fedor Indutny <fedor@indutny.com>
@eugeneo eugeneo deleted the fix_is_active branch October 13, 2016 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inspector Issues and PRs related to the V8 inspector protocol test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failures on macOS Sierra 10.12 (GM) with Xcode 8.0 (GM)
9 participants