Skip to content

sharness: wait for graceful shutdown #1110

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

Merged
merged 2 commits into from
Apr 21, 2015
Merged

sharness: wait for graceful shutdown #1110

merged 2 commits into from
Apr 21, 2015

Conversation

jbenet
Copy link
Member

@jbenet jbenet commented Apr 21, 2015

sharness should only send the kill signal once, as that is what a graceful shutdown should do. in the event that doesn't happen, we should send it again, and then kill -9 to prevent it lingering and messing with other tests.

(this sadly makes our tests longer. but that's good motivation to make graceful shutdown faster)

jbenet added 2 commits April 21, 2015 01:15
The test_must_fail check fails on osx. (it does not seem to fail on
linux). See #1109
sharness should only send the kill signal once, as that is
what a graceful shutdown should do. in the event that doesn't
happen, we should send it again, and then kill -9 to prevent it
lingering and messing with other tests.
@jbenet jbenet added the status/in-progress In progress label Apr 21, 2015
@jbenet jbenet mentioned this pull request Apr 21, 2015
34 tasks
jbenet added a commit that referenced this pull request Apr 21, 2015
sharness: wait for graceful shutdown
@jbenet jbenet merged commit bafcaae into master Apr 21, 2015
@jbenet jbenet removed the status/in-progress In progress label Apr 21, 2015
@jbenet jbenet deleted the graceful-exit-sharness branch April 21, 2015 08:36
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