cubejs / cluster2

A node.js (>= 0.8.x) compatible multi-process management module
Other
48 stars 17 forks source link

test nanny feature #39

Closed inexplicable closed 10 years ago

inexplicable commented 10 years ago

nanny feature is to verify that all workers are responsive, we need a test case to verify when a worker failed to produce heartbeat over 3 mins, master will force a kill of this worker.

zhuchenwang commented 10 years ago

I already forked this repo and added code coverage report to branch cluster3. You can merge it back. BTW, the coverage tool seems not work correctly in cluster mode. For example, current test cases covers most of the emitter code. However, the report says only code in master has been executed.