-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
test: simplify test-gc-{http-client,net}-* #42782
Conversation
59d8f04
to
5324b0b
Compare
This comment was marked as outdated.
This comment was marked as outdated.
5324b0b
to
0d66d64
Compare
0d66d64
to
9fd4911
Compare
9fd4911
to
1b10c03
Compare
1b10c03
to
49ba47a
Compare
} else { | ||
setImmediate(status); | ||
} | ||
} else { | ||
setImmediate(status); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit
} else { | |
setImmediate(status); | |
} | |
} else { | |
setImmediate(status); | |
} | |
return; | |
} | |
} | |
setImmediate(status); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is only a cosmetic change that is inconsistent with the original refactor done in 47ecf2060343. I would prefer to not apply it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, feel free to ignore and land as is, LGTM anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll apply it, but it's a little annoying to rerun CI for something like this.
} else { | ||
setImmediate(status); | ||
} | ||
} else { | ||
setImmediate(status); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit
} else { | |
setImmediate(status); | |
} | |
} else { | |
setImmediate(status); | |
} | |
return; | |
} | |
} | |
setImmediate(status); |
test/parallel/test-gc-net-timeout.js
Outdated
} else { | ||
setImmediate(status); | ||
} | ||
} else { | ||
setImmediate(status); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit
} else { | |
setImmediate(status); | |
} | |
} else { | |
setImmediate(status); | |
} | |
return; | |
} | |
} | |
setImmediate(status); |
Instead of sending/creating a fixed number of requests/connections, detect when GC has started and stop sending requests/creating connections at that point. Refs: nodejs@47ecf2060343 Refs: nodejs@7ce8403ef1a6
8d240e1
to
8518bd1
Compare
Commit Queue failed- Loading data for nodejs/node/pull/42782 ✔ Done loading data for nodejs/node/pull/42782 ----------------------------------- PR info ------------------------------------ Title test: simplify test-gc-{http-client,net}-* (#42782) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch lpinca:simplify/test-gc-xxx -> nodejs:master Labels test, author ready, needs-ci Commits 1 - test: simplify test-gc-{http-client,net}-* Committers 1 - Luigi Pinca PR-URL: https://github.com/nodejs/node/pull/42782 Refs: https://github.com/nodejs/node/commit/47ecf2060343 Refs: https://github.com/nodejs/node/commit/7ce8403ef1a6 Reviewed-By: James M Snell Reviewed-By: Antoine du Hamel ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/42782 Refs: https://github.com/nodejs/node/commit/47ecf2060343 Refs: https://github.com/nodejs/node/commit/7ce8403ef1a6 Reviewed-By: James M Snell Reviewed-By: Antoine du Hamel -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - test: simplify test-gc-{http-client,net}-* ℹ This PR was created on Tue, 19 Apr 2022 13:41:44 GMT ✔ Approvals: 2 ✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/42782#pullrequestreview-947803586 ✔ - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/42782#pullrequestreview-956901494 ✔ Last GitHub CI successful ℹ Last Full PR CI on 2022-04-28T22:34:39Z: https://ci.nodejs.org/job/node-test-pull-request/43757/ - Querying data for job/node-test-pull-request/43757/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/2247249270 |
Instead of sending/creating a fixed number of requests/connections, detect when GC has started and stop sending requests/creating connections at that point. Refs: 47ecf2060343 Refs: 7ce8403ef1a6 PR-URL: #42782 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Landed in 02e0c17. |
Instead of sending/creating a fixed number of requests/connections, detect when GC has started and stop sending requests/creating connections at that point. Refs: 47ecf2060343 Refs: 7ce8403ef1a6 PR-URL: #42782 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Instead of sending/creating a fixed number of requests/connections, detect when GC has started and stop sending requests/creating connections at that point. Refs: 47ecf2060343 Refs: 7ce8403ef1a6 PR-URL: #42782 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Instead of sending/creating a fixed number of requests/connections, detect when GC has started and stop sending requests/creating connections at that point. Refs: 47ecf2060343 Refs: 7ce8403ef1a6 PR-URL: #42782 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Instead of sending/creating a fixed number of requests/connections, detect when GC has started and stop sending requests/creating connections at that point. Refs: 47ecf2060343 Refs: 7ce8403ef1a6 PR-URL: #42782 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Instead of sending/creating a fixed number of requests/connections, detect when GC has started and stop sending requests/creating connections at that point. Refs: 47ecf2060343 Refs: 7ce8403ef1a6 PR-URL: #42782 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Instead of sending/creating a fixed number of requests/connections, detect when GC has started and stop sending requests/creating connections at that point. Refs: nodejs/node@47ecf2060343 Refs: nodejs/node@7ce8403ef1a6 PR-URL: nodejs/node#42782 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Instead of sending/creating a fixed number of requests/connections,
detect when GC has started and stop sending requests/creating
connections at that point.
Refs: 47ecf2060343
Refs: 7ce8403ef1a6