Skip to content

Turn off watchdog when done in tests #23616

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

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

Conversation

khwilliamson
Copy link
Contributor

If you set a watchdog timer, you should clear it when its no longer needed. Otherwise it can go off, aborting your test script.

In these more than two dozen test files, it hasn't mostly been a problem because the script finishes before the timer goes off. But I bet that some heisenbugs have been the result of not clearing it.

  • This set of changes does not require a perldelta entry.

If you set a watchdog timer, you should clear it when its no longer
needed.  Otherwise it can go off, aborting your test script.

In these more than two dozen test files, it hasn't mostly been a problem
because the script finishes before the timer goes off.  But I bet that
some heisenbugs have been the result of not clearing it.
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.

1 participant