From: Sage Weil Date: Fri, 23 Jun 2017 19:42:45 +0000 (-0400) Subject: qa/workunits/ceph-helpers: shorten mon connect timeout X-Git-Tag: ses5-milestone8~1^2~21^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=118dc27989d91a1c3b94b497d1bdc512488c8cd3;p=ceph.git qa/workunits/ceph-helpers: shorten mon connect timeout Signed-off-by: Sage Weil --- diff --git a/qa/workunits/ceph-helpers.sh b/qa/workunits/ceph-helpers.sh index bb681bf440e9..7b7adc19f9b9 100755 --- a/qa/workunits/ceph-helpers.sh +++ b/qa/workunits/ceph-helpers.sh @@ -236,7 +236,7 @@ function test_kill_daemon() { # kill the mon and verify it cannot be reached # kill_daemon $pidfile TERM || return 1 - ! timeout 60 ceph --connect-timeout 60 status || return 1 + ! timeout 5 ceph status || return 1 done teardown $dir || return 1 @@ -317,7 +317,7 @@ function test_kill_daemons() { # kill the mon and verify it cannot be reached # kill_daemons $dir TERM || return 1 - ! timeout 60 ceph --connect-timeout 60 status || return 1 + ! timeout 5 ceph status || return 1 teardown $dir || return 1 }