worker: add connect and setConnectionsListener #57829
Annotations
2 errors
test-linux:
test/parallel/test-worker-connection-errors.js#L64
--- stderr ---
node:internal/process/promises:391
triggerUncaughtException(err, true /* fromPromise */);
^
AssertionError [ERR_ASSERTION]: Missing expected rejection (Error).
at async test (/home/runner/work/node/node/test/parallel/test-worker-connection-errors.js:64:3) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: { name: 'Error', code: 'ERR_WORKER_CONNECTION_REFUSED' },
operator: 'rejects'
}
Node.js v23.0.0-pre
Command: out/Release/node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=./tools/github_reporter/index.js --test-reporter-destination=stdout /home/runner/work/node/node/test/parallel/test-worker-connection-errors.js
|
test-linux
Process completed with exit code 2.
|