]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: ceph-helpers kill_daemons fails when kill fails 4588/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 08:31:00 +0000 (10:31 +0200)
commit0e26e9f72bc14417266b87ac1159607e1b109303
tree97e6c6c134e535f4f7742caa54a8f0c0a8f6d3cb
parent4a68b737daa7ecf68d48429825aeaf7e8f74dee3
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>
src/test/ceph-helpers.sh