Skip to content

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.

2 participants