Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign uptest: remove unused config #21985
Conversation
This comment has been minimized.
This comment has been minimized.
nodejs-github-bot
added
benchmark
process
test
labels
Jul 26, 2018
apapirovski
approved these changes
Jul 26, 2018
|
Thanks for cleaning this up! |
refack
requested changes
Jul 26, 2018
|
Please restore test descriptions |
| @@ -23,12 +23,6 @@ | |||
| require('../common'); | |||
| const assert = require('assert'); | |||
|
|
|||
| // this is the inverse of test-next-tick-starvation. | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
benjamingr
Jul 26, 2018
Author
Member
Sure, can revert this - though I didn't find it very informative if you do I'll revert.
This comment has been minimized.
This comment has been minimized.
| @@ -25,9 +25,6 @@ const Readable = require('stream').Readable; | |||
| const r = new Readable(); | |||
| const N = 256 * 1024; | |||
|
|
|||
| // Go ahead and allow the pathological case for this test. | |||
This comment has been minimized.
This comment has been minimized.
refack
Jul 26, 2018
Member
Please keep (maybe move to L24 as per https://github.com/nodejs/node/blob/master/doc/guides/writing-tests.md#test-structure)
This comment has been minimized.
This comment has been minimized.
benjamingr
Jul 26, 2018
Author
Member
It no longer allows the pathological use case though since maxTickDepth was removed so the comment is incorrect (and has been since 0.12). Is there alternative phrasing you'd prefer?
This comment has been minimized.
This comment has been minimized.
refack
Jul 26, 2018
Member
I did not associate the comment specifically with maxTickDepth. If you are sure it's related, then I would assume the whole test is obsolete, and should be removed.
This comment has been minimized.
This comment has been minimized.
benjamingr
Jul 26, 2018
Author
Member
@refack the test verifies the behaviour of a synchronous read on the stream. I've added a comment I think makes the most sense. I think benjamingr@782149d explains why it was added
benjamingr
force-pushed the
benjamingr:remove-outdated-config
branch
from
ea862ff
to
6ab5841
Jul 26, 2018
refack
approved these changes
Jul 26, 2018
This comment has been minimized.
This comment has been minimized.
Thanks for following up. |
cjihrig
approved these changes
Jul 26, 2018
lpinca
approved these changes
Jul 26, 2018
SLYJason
approved these changes
Jul 26, 2018
addaleax
approved these changes
Jul 26, 2018
BridgeAR
approved these changes
Jul 27, 2018
trivikr
approved these changes
Jul 27, 2018
jasnell
approved these changes
Jul 27, 2018
sagirk
approved these changes
Jul 27, 2018
maclover7
approved these changes
Jul 28, 2018
This comment has been minimized.
This comment has been minimized.
maclover7
added
the
author ready
label
Jul 28, 2018
This comment has been minimized.
This comment has been minimized.
|
Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/16050/ |
trivikr
approved these changes
Aug 1, 2018
This comment has been minimized.
This comment has been minimized.
|
Resume Build: https://ci.nodejs.org/job/node-test-pull-request/16136/ (edit @maclover7: |
This comment has been minimized.
This comment has been minimized.
|
Landed in d68f946 |
benjamingr commentedJul 26, 2018
process.maxTickDepthwas removed in v0.12 a whole while ago and was mostly removed from our code base. There are still some places it was left in old benchmarks and tests.This PR removes those. Wasn't sure if to label it
testorchoreorbenchmark- seemed very insignificant to think a lot about it for this tiny PR.make -j4 test(UNIX), orvcbuild test(Windows) passes