django-tasks icon indicating copy to clipboard operation
django-tasks copied to clipboard

Improve test coverage for process management

Open RealOrangeOne opened this issue 1 year ago • 0 comments

Ensuring the db_worker command behaves correctly is critical.

  • Does it terminate cleanly on ctrl+c?
  • Does it terminate cleanly on SIGTERM, SIGINT and SIGKILL?
  • 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?

RealOrangeOne avatar Jun 21 '24 19:06 RealOrangeOne