django-tasks
django-tasks copied to clipboard
Improve test coverage for process management
Ensuring the db_worker command behaves correctly is critical.
- Does it terminate cleanly on
ctrl+c? - Does it terminate cleanly on
SIGTERM,SIGINTandSIGKILL? - What if a task raises an exception it's not expected to?
All of the above should be the case whether there's a task currently running or not. And what happens to the task when this does happen?