]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test: timeout verification that mon is unreachable 11089/head
authorLoic Dachary <ldachary@redhat.com>
Fri, 16 Sep 2016 08:56:51 +0000 (10:56 +0200)
committerLoic Dachary <ldachary@redhat.com>
Fri, 16 Sep 2016 12:20:38 +0000 (14:20 +0200)
commita5e5119bd138a97f35737c2b50d1e621fa8286d6
treec219d4fa26332a3f80e95fae6a3651a0a811451d
parentd5a3c8d6844ba632767baf3c2c790fa4d947a95e
test: timeout verification that mon is unreachable

Without a timeout on the command, it may hang for a very long time,
hunting for new mons. If it hangs for more than 60 seconds, it is
safe to assume the mon is indeed down.

Fixes: http://tracker.ceph.com/issues/16477
Signed-off-by: Loic Dachary <loic@dachary.org>
qa/workunits/ceph-helpers.sh