Home
last modified time | relevance | path

Searched refs:worker1 (Results 1 – 10 of 10) sorted by relevance

/third_party/node/test/parallel/
Dtest-cluster-server-restart-rr.js9 const worker1 = cluster.fork(); constant
10 worker1.on('listening', common.mustCall(() => {
23 worker1.disconnect();
27 worker1.on('exit', common.mustCall((code, signal) => {
31 `worker${worker1.id} did not exit normally. Exit with code: ${code}`
36 `worker${worker1.id} did not exit normally. Exit with code: ${signal}`
Dtest-cluster-server-restart-none.js9 const worker1 = cluster.fork(); constant
10 worker1.on('listening', common.mustCall(() => {
19 worker1.disconnect();
23 worker1.on('exit', common.mustCall((code, signal) => {
Dtest-cluster-shared-leak.js15 const worker1 = cluster.fork(); constant
16 worker1.on('listening', common.mustCall(function(address) {
20 worker1.disconnect();
32 assert(worker === worker1 || worker === worker2);
Dtest-cluster-net-server-drop-connection.js15 let worker1; variable
32 worker1.send({ action: 'disconnect' });
41 worker1 = cluster.fork({ maxConnections: 1, pipePath: common.PIPE });
43 worker1.on('message', common.mustCall((message) => {
Dtest-cluster-worker-destroy.js33 let worker1, worker2; variable
36 worker1 = cluster.fork();
39 [worker1, worker2].forEach(function(worker) {
Dtest-cluster-disconnect-race.js19 const worker1 = cluster.fork(); constant
20 worker1.on('message', common.mustCall(function() {
22 worker1.disconnect();
Dtest-net-listen-exclusive-random-ports.js9 const worker1 = cluster.fork(); constant
11 worker1.on('message', function(port1) {
20 worker1.kill();
/third_party/node/test/sequential/
Dtest-dgram-bind-shared-ports.js35 const worker1 = cluster.fork(); constant
38 worker1.on('error', common.mustCall((err) => {
41 worker1.kill();
46 worker1.on('message', common.mustCall((msg) => {
56 worker1.send(BYE);
64 worker1.on('exit', common.mustCall((code, signal) => {
Dtest-net-listen-shared-ports.js29 const worker1 = cluster.fork(); constant
31 worker1.on('message', common.mustCall(function(msg) {
37 worker1.kill();
/third_party/node/test/known_issues/
Dtest-dgram-bind-shared-ports-after-port-0.js17 const worker1 = cluster.fork(); constant
20 worker1.on('error', (err) => {
24 worker1.on('message', (msg) => {
39 worker1.send(BYE);