Searched refs:worker1 (Results 1 – 10 of 10) sorted by relevance
/third_party/node/test/parallel/ |
D | test-cluster-server-restart-rr.js | 9 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}`
|
D | test-cluster-server-restart-none.js | 9 const worker1 = cluster.fork(); constant 10 worker1.on('listening', common.mustCall(() => { 19 worker1.disconnect(); 23 worker1.on('exit', common.mustCall((code, signal) => {
|
D | test-cluster-shared-leak.js | 15 const worker1 = cluster.fork(); constant 16 worker1.on('listening', common.mustCall(function(address) { 20 worker1.disconnect(); 32 assert(worker === worker1 || worker === worker2);
|
D | test-cluster-net-server-drop-connection.js | 15 let worker1; variable 32 worker1.send({ action: 'disconnect' }); 41 worker1 = cluster.fork({ maxConnections: 1, pipePath: common.PIPE }); 43 worker1.on('message', common.mustCall((message) => {
|
D | test-cluster-worker-destroy.js | 33 let worker1, worker2; variable 36 worker1 = cluster.fork(); 39 [worker1, worker2].forEach(function(worker) {
|
D | test-cluster-disconnect-race.js | 19 const worker1 = cluster.fork(); constant 20 worker1.on('message', common.mustCall(function() { 22 worker1.disconnect();
|
D | test-net-listen-exclusive-random-ports.js | 9 const worker1 = cluster.fork(); constant 11 worker1.on('message', function(port1) { 20 worker1.kill();
|
/third_party/node/test/sequential/ |
D | test-dgram-bind-shared-ports.js | 35 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) => {
|
D | test-net-listen-shared-ports.js | 29 const worker1 = cluster.fork(); constant 31 worker1.on('message', common.mustCall(function(msg) { 37 worker1.kill();
|
/third_party/node/test/known_issues/ |
D | test-dgram-bind-shared-ports-after-port-0.js | 17 const worker1 = cluster.fork(); constant 20 worker1.on('error', (err) => { 24 worker1.on('message', (msg) => { 39 worker1.send(BYE);
|