]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: ceph-helpers kill_daemons fails when kill fails 4618/head
authorLoic Dachary <ldachary@redhat.com>
Wed, 6 May 2015 18:14:37 +0000 (20:14 +0200)
committerLoic Dachary <ldachary@redhat.com>
Fri, 8 May 2015 10:28:42 +0000 (12:28 +0200)
commitc548d8d44baae78b868391e3c6fb7294f024b082
tree6a6e8864086ca61efc91390508d0819e719de393
parentfb10594f2ab2427a2bf1d2f2b164a3a0928e3335
tests: ceph-helpers kill_daemons fails when kill fails

Instead of silently leaving the daemons running, it returns failure so
the caller can decide what to do with this situation. The timeout is
also extended to minutes instead of seconds to gracefully handle the
rare situations when a machine is extra slow for some reason.

http://tracker.ceph.com/issues/11398 Fixes: #11398

Signed-off-by: Loic Dachary <ldachary@redhat.com>
(cherry picked from commit 0e26e9f72bc14417266b87ac1159607e1b109303)
src/test/ceph-helpers.sh