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

test: Add integration test for signal handling warnings/errors #6037

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TheRealFalcon
Copy link
Member

Proposed Commit Message

test: Add integration test for signal handling warnings/errors

Additional Context

Test Steps

Merge type

  • Squash merge using "Proposed Commit Message"
  • Rebase and merge unique commits. Requires commit messages per-commit each referencing the pull request number (#<PR_NUM>)

def test_no_warnings(client: IntegrationInstance):
"""Test that the signal handler does not log errors on reboot.

Note that for single process boots, `Conflicts=shutdown.target` will
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To test the signal handler code on single process systems we could have the runcmd send a kill signal to PPID.

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

Successfully merging this pull request may close these issues.

2 participants