On Thu, May 30, 2013 at 1:45 AM, Prajwal Manjunath
<
prajw...@gmail.com> wrote:
> It is. I mean, there are no "real" workers, I'm only simulating it with a
> fake object with a fake id, and the console.log inside the cluster exit
> handler prints the same id twice.
Maybe once when you fake it, once when it really dies?
Why not have the worker really die in your test, sounds like what you
are seeing is an artifact of your test setup, and you messing with
emitting messages only cluster expects to emit.
Sam