ngauthier / hydra

Distributed testing framework
MIT License
389 stars 63 forks source link

Killing the parent process through ^C does not kill the worker processes #32

Open tusharr opened 13 years ago

tusharr commented 13 years ago

When I try to kill the parent hydra process using Ctrl + C, the workers continue to do their work.

It would be nice if the workers are also killed when the parent dies.

ngauthier commented 13 years ago

Hydra closes the connection to the worker on a CTRL+C. When the worker detects the closed connection (when it finished the current job) it will exit. Sometimes there is a brief delay, based on how long the jobs take.