node/test/pummel
Rich Trott 1a3c7473ec test: use Promise.all() in test-hash-seed
We have several tests where a number of asynchronous processes need to
finish before some checks happen. These are done in a number of ways,
including (as here) using our Countdown testing module. I think
Promise.all() may be the idiomatic and ergonomic way to go for a lot of
these tests. Using this one to get feedback on the idea.

PR-URL: https://github.com/nodejs/node/pull/32273
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
2020-03-17 18:29:56 -07:00
..
test-abort-fatal-error.js test: simplify test skipping 2017-07-04 12:41:49 +03:00
test-child-process-spawn-loop.js test: switch assertion order 2019-06-25 18:15:12 +02:00
test-crypto-dh-hash.js test: split pummel crypto dh test into two separate tests 2019-06-25 05:37:14 +02:00
test-crypto-dh-keys.js test: split pummel crypto dh test into two separate tests 2019-06-25 05:37:14 +02:00
test-crypto-timing-safe-equal-benchmarks.js test: improve performance of test-crypto-timing-safe-equal-benchmarks 2019-02-21 20:22:48 -08:00
test-dh-regr.js test: make test-dh-regr more efficient where possible 2019-06-25 05:37:30 +02:00
test-fs-largefile.js test: clean tmpdir on process exit 2019-08-10 19:22:11 -07:00
test-fs-readfile-tostring-fail.js test: refactor common.expectsError 2019-12-31 15:54:20 +01:00
test-fs-watch-file-slow.js test: clean tmpdir on process exit 2019-08-10 19:22:11 -07:00
test-fs-watch-file.js benchmark,doc,lib,test: prepare for padding lint rule 2019-11-30 06:28:29 -08:00
test-fs-watch-non-recursive.js test: refactor test-fs-watch-non-recursive 2019-01-09 22:19:23 -08:00
test-fs-watch-system-limit.js test: move test-fs-watch-system-limit from sequential to pummel 2018-11-09 16:11:51 -08:00
test-hash-seed.js test: use Promise.all() in test-hash-seed 2020-03-17 18:29:56 -07:00
test-heapdump-dns.js test: move heapdump tests to pummel 2019-01-29 09:10:36 -08:00
test-heapdump-env.js src: implement MemoryRetainer in Environment 2019-04-04 11:09:29 +08:00
test-heapdump-fs-promise.js test: move heapdump tests to pummel 2019-01-29 09:10:36 -08:00
test-heapdump-http2.js http2: track nghttp2-allocated memory in heap snapshot 2019-12-07 22:55:18 +01:00
test-heapdump-inspector.js test: move heapdump tests to pummel 2019-01-29 09:10:36 -08:00
test-heapdump-tls.js test: move heapdump tests to pummel 2019-01-29 09:10:36 -08:00
test-heapdump-worker.js test: fix test-heapdump-worker 2020-01-25 08:30:51 -08:00
test-heapdump-zlib.js test: move heapdump tests to pummel 2019-01-29 09:10:36 -08:00
test-http-many-keep-alive-connections.js test: remove common.PORT from assorted pummel tests 2020-02-23 02:45:50 -08:00
test-http-upload-timeout.js test: remove common.PORT from assorted pummel tests 2020-02-23 02:45:50 -08:00
test-https-large-response.js test: remove common.PORT from assorted pummel tests 2020-02-23 02:45:50 -08:00
test-https-no-reader.js test: remove common.PORT from assorted pummel tests 2020-02-23 02:45:50 -08:00
test-keep-alive.js test: add check for wrk to test-keep-alive 2019-01-17 16:13:04 -08:00
test-net-connect-econnrefused.js test: refactor pummel/test-net-connect-econnrefused 2019-01-16 06:49:15 -08:00
test-net-many-clients.js test: refactor pummel/test-net-many-clients 2019-01-16 06:49:18 -08:00
test-net-pause.js test: remove common.PORT from test-net-pause 2020-02-17 18:07:37 -08:00
test-net-pingpong-delay.js test: remove common.PORT from assorted pummel tests 2020-02-23 02:45:50 -08:00
test-net-pingpong.js test: refactor pummel/test-net-pingpong 2019-01-16 06:49:22 -08:00
test-net-throttle.js test: remove common.PORT from test-net-throttle 2020-02-17 18:07:34 -08:00
test-net-timeout.js test: remove common.PORT from test-net-timeout 2020-02-17 18:07:32 -08:00
test-net-timeout2.js test: remove common.PORT from assorted pummel tests 2020-02-23 02:45:50 -08:00
test-net-write-callbacks.js test: remove common.PORT from test-net-write-callbacks.js 2020-02-19 18:57:51 -08:00
test-next-tick-infinite-calls.js lib,test: remove yoda statements 2018-03-04 15:33:18 +01:00
test-process-cpuUsage.js test: fix conversion of microseconds in test 2017-08-09 20:08:23 -07:00
test-process-hrtime.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
test-regress-GH-814.js test: clean tmpdir on process exit 2019-08-10 19:22:11 -07:00
test-regress-GH-814_2.js test: clean tmpdir on process exit 2019-08-10 19:22:11 -07:00
test-regress-GH-892.js test: remove common.PORT from assorted pummel tests 2020-02-23 02:45:50 -08:00
test-stream-pipe-multi.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
test-timers.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-tls-server-large-request.js test: remove common.PORT from test-tls-server-large-request 2020-02-17 18:07:36 -08:00
test-tls-throttle.js test: remove common.PORT from assorted pummel tests 2020-02-23 02:45:50 -08:00
test-vm-memleak.js test: remove unused catch bindings 2018-11-06 10:59:18 -05:00
test-vm-race.js test: remove unused catch bindings 2018-11-06 10:59:18 -05:00
test-watch-file.js test: continue normalizing fixtures use 2017-08-27 21:14:34 -03:00
test-worker-take-heapsnapshot.js worker: add ability to take heap snapshot from parent thread 2020-02-03 07:04:13 -08:00
testcfg.py