test: cluster-setup-master online workers check
Checklist
-
the commit message follows commit guidelines -
tests and code linting passes
Affected core subsystem(s)
tests
Description of change
Previously in test/parallel/cluster-setup-master.js
, a checks.workers
boolean was conditionally set, but never checked. Additionally, it was never actually set because cluster.onlineWorkers
is always undefined.