test: refactor test-cluster-send-deadlock to use arrow functions#24479
Closed
sagirk wants to merge 4 commits intonodejs:masterfrom
Closed
test: refactor test-cluster-send-deadlock to use arrow functions#24479sagirk wants to merge 4 commits intonodejs:masterfrom
sagirk wants to merge 4 commits intonodejs:masterfrom
Conversation
gireeshpunathil
approved these changes
Nov 19, 2018
Member
sagirk
commented
Nov 20, 2018
Contributor
Author
|
@thefourtheye Build failure — |
Contributor
Author
|
Like @Trott pointed out, the build failure here too is caused because of wrapping an Update: had to remove the |
f46d511 to
ec0646d
Compare
Contributor
Author
|
Build failed because the GitHub API rate limit was exceeded! 🙀 |
jasnell
approved these changes
Nov 21, 2018
In `test/parallel/test-cluster-send-deadlock.js`, callbacks use anonymous closure functions. It is safe to replace them with arrow functions since these callbacks don't contain references to `this`, `super` or `arguments`. This results in shorter functions.
…ustCall`" This reverts commit 6eab88a71332e79825cd719dbc907564a2bfaec5.
d841dee to
fed582b
Compare
Contributor
Author
|
Rebased against master and force-pushed, triggering a new PR Build. Passed. PTAL. |
Member
Member
|
all good; just it needs to grow 72 hours old. |
Member
|
landed as a67b22a , thanks! |
pull bot
pushed a commit
to shakir-abdo/node
that referenced
this pull request
Nov 22, 2018
In `test/parallel/test-cluster-send-deadlock.js`, callbacks use anonymous closure functions. It is safe to replace them with arrow functions since these callbacks don't contain references to `this`, `super` or `arguments`. This results in shorter functions. PR-URL: nodejs#24479 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
targos
pushed a commit
that referenced
this pull request
Nov 24, 2018
In `test/parallel/test-cluster-send-deadlock.js`, callbacks use anonymous closure functions. It is safe to replace them with arrow functions since these callbacks don't contain references to `this`, `super` or `arguments`. This results in shorter functions. PR-URL: #24479 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
rvagg
pushed a commit
that referenced
this pull request
Nov 28, 2018
In `test/parallel/test-cluster-send-deadlock.js`, callbacks use anonymous closure functions. It is safe to replace them with arrow functions since these callbacks don't contain references to `this`, `super` or `arguments`. This results in shorter functions. PR-URL: #24479 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
This was referenced Dec 8, 2018
codebytere
pushed a commit
that referenced
this pull request
Jan 13, 2019
In `test/parallel/test-cluster-send-deadlock.js`, callbacks use anonymous closure functions. It is safe to replace them with arrow functions since these callbacks don't contain references to `this`, `super` or `arguments`. This results in shorter functions. PR-URL: #24479 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
refack
pushed a commit
to refack/node
that referenced
this pull request
Jan 14, 2019
In `test/parallel/test-cluster-send-deadlock.js`, callbacks use anonymous closure functions. It is safe to replace them with arrow functions since these callbacks don't contain references to `this`, `super` or `arguments`. This results in shorter functions. PR-URL: nodejs#24479 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Merged
codebytere
pushed a commit
that referenced
this pull request
Jan 29, 2019
In `test/parallel/test-cluster-send-deadlock.js`, callbacks use anonymous closure functions. It is safe to replace them with arrow functions since these callbacks don't contain references to `this`, `super` or `arguments`. This results in shorter functions. PR-URL: #24479 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
codebytere
pushed a commit
that referenced
this pull request
Jan 29, 2019
In `test/parallel/test-cluster-send-deadlock.js`, callbacks use anonymous closure functions. It is safe to replace them with arrow functions since these callbacks don't contain references to `this`, `super` or `arguments`. This results in shorter functions. PR-URL: #24479 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
This was referenced Jan 29, 2019
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

In
test/parallel/test-cluster-send-deadlock.js, callbacks useanonymous closure functions. It is safe to replace them with arrow
functions since these callbacks don't contain references to
this,superorarguments. This results in shorter functions.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes