]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/workunits/ceph-helpers: shorten mon connect timeout
authorSage Weil <sage@redhat.com>
Fri, 23 Jun 2017 19:42:45 +0000 (15:42 -0400)
committerSage Weil <sage@redhat.com>
Wed, 28 Jun 2017 14:52:49 +0000 (10:52 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/workunits/ceph-helpers.sh

index bb681bf440e9752d0c2d31f4571e9098b35ecc5c..7b7adc19f9b9c1cf682c3d20720e0d4f2cf217cf 100755 (executable)
@@ -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
 }