Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration tests for signal hendling #375

Open
rail opened this issue Jul 29, 2019 · 0 comments
Open

Integration tests for signal hendling #375

rail opened this issue Jul 29, 2019 · 0 comments

Comments

@rail
Copy link

rail commented Jul 29, 2019

This is a follow up for #374 (review)

It would be great to have integration tests for signal handling. Example tests:

  1. run a script
  2. send SIGTERM
  3. verify it exits within poll_interval

  1. run a script
  2. start a fake task
  3. send SIGTERM
  4. verify it cancels the task and exits within ??? seconds

  1. run a script
  2. send SIGUSR1
  3. verify it exits within poll_interval

  1. run a script
  2. start a fake task
  3. send SIGUSR1
  4. verify it doesn't cancel the task

...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant