diff options
author | Benjamin Gruenbaum <benji@peer5.com> | 2018-07-26 17:05:48 +0300 |
---|---|---|
committer | Jon Moss <me@jonathanmoss.me> | 2018-08-02 22:33:51 -0400 |
commit | d68f946fe4ebaba02d68f5b118d53ec397ac705e (patch) | |
tree | 39065554782b8653c06661d7f1eb61b297b107ca /test/parallel/test-next-tick-intentional-starvation.js | |
parent | 8d15f69abd6502cedbc64597085bddfd9774b7a5 (diff) | |
download | android-node-v8-d68f946fe4ebaba02d68f5b118d53ec397ac705e.tar.gz android-node-v8-d68f946fe4ebaba02d68f5b118d53ec397ac705e.tar.bz2 android-node-v8-d68f946fe4ebaba02d68f5b118d53ec397ac705e.zip |
test: remove unused config
process.maxTickDepth was 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 setting the value in those tests and
benchmarks.
PR-URL: https://github.com/nodejs/node/pull/21985
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Diffstat (limited to 'test/parallel/test-next-tick-intentional-starvation.js')
-rw-r--r-- | test/parallel/test-next-tick-intentional-starvation.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/parallel/test-next-tick-intentional-starvation.js b/test/parallel/test-next-tick-intentional-starvation.js index fdcdd6a7a6..26d07e02ea 100644 --- a/test/parallel/test-next-tick-intentional-starvation.js +++ b/test/parallel/test-next-tick-intentional-starvation.js @@ -23,12 +23,8 @@ require('../common'); const assert = require('assert'); -// this is the inverse of test-next-tick-starvation. -// it verifies that process.nextTick will *always* come before other -// events, up to the limit of the process.maxTickDepth value. - -// WARNING: unsafe! -process.maxTickDepth = Infinity; +// this is the inverse of test-next-tick-starvation. it verifies +// that process.nextTick will *always* come before other events let ran = false; let starved = false; |