mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
cluster: rename worker.unqiueID to worker.id
This commit is contained in:
1 parent
dd85a8c183
commit
c2c08196d8
3 files changed
+28
-24
No files matched your search
@@ -112,6 +112,7 @@ else if (cluster.isMaster) {
|
||||
|
||||
//Create worker
|
||||
worker = cluster.fork();
|
||||
assert.equal(worker.id, 1);
|
||||
assert.ok(worker instanceof cluster.Worker,
|
||||
'the worker is not a instance of the Worker constructor');
|
||||
|
||||
|
||||
Reference in new issue
Block a user