Integration tests for signal hendling
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- testing-qa
Research direction
No files or existing tests are named; start by locating the signal-handling integration-test entry points and the script and fake-task setup. Exercise the listed SIGTERM and SIGUSR1 scenarios, including the unspecified cancellation timeout, and consider the work done when the expected exit and task-cancellation behavior is verified.
Written by the indexing model from the issue text.
Description
This is a follow up for https://github.com/mozilla-releng/scriptworker/pull/374#pullrequestreview-267417405
It would be great to have integration tests for signal handling. Example tests:
- run a script
- send SIGTERM
- verify it exits within
poll_interval
- run a script
- start a fake task
- send SIGTERM
- verify it cancels the task and exits within ??? seconds
- run a script
- send SIGUSR1
- verify it exits within
poll_interval
- run a script
- start a fake task
- send SIGUSR1
- verify it doesn't cancel the task
...
- Dominant language
- Python
- Stars
- 5
- Forks
- 39
- Avg merge
- 4h 18m
- Merged PRs (30d)
- 6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla-releng/scriptworker
-
Dependency Dashboard Open
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
mozilla-releng/scriptworker#748 ·
-
mozilla-releng/scriptworker#645 · 4 comments · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
mozilla-releng/scriptworker#584 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
mozilla-releng/scriptworker#580 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
mozilla-releng/scriptworker#570 ·
All issues in mozilla-releng/scriptworker
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100