cluster: rename worker.unqiueID to worker.id

This commit is contained in:
Andreas Madsen authored and isaacs committed 2012-06-14 09:32:56 -07:00
1 parent dd85a8c183
commit c2c08196d8
3 files changed
+28 -24

No files matched your search

+1
View File
@@ -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');