test: add test cases for cluster profiling
Add test cases for cluster
fork method with --prof
and --logfile
arguments.
Refs: https://coverage.nodejs.org/coverage-a388f4d13aa29ddb/lib/internal/cluster/master.js.html#L64
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines