diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2014-06-15 08:40:49 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-06-16 11:11:28 -0700 |
commit | d3bd3319afb208acfa905696fb0be5545f5883f6 (patch) | |
tree | bfc753e888912b084d7fba56d0bbfe8f2e98d906 /tests/bugs/bug-874498.t | |
parent | 6e33d855815726bd8ebf1c7cdc3cf233ff7ac231 (diff) |
tests: Avoid sleep
Change-Id: I7169be3532232754b9461c4e1b27bf6bc857f7a6
BUG: 1092850
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/8083
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/bugs/bug-874498.t')
-rw-r--r-- | tests/bugs/bug-874498.t | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/bugs/bug-874498.t b/tests/bugs/bug-874498.t index de58aef4d39..fa74115960f 100644 --- a/tests/bugs/bug-874498.t +++ b/tests/bugs/bug-874498.t @@ -1,5 +1,6 @@ #!/bin/bash . $(dirname $0)/../include.rc +. $(dirname $0)/../volume.rc . $(dirname $0)/../afr.rc cleanup; @@ -48,7 +49,9 @@ EXPECT "3" echo $count TEST $CLI volume start $V0 force -sleep 5 +EXPECT_WITHIN $PROCESS_UP_TIMEOUT "Y" glustershd_up_status +EXPECT_WITHIN $CHILD_UP_TIMEOUT "1" afr_child_up_status_in_shd $V0 0 +EXPECT_WITHIN $CHILD_UP_TIMEOUT "1" afr_child_up_status_in_shd $V0 1 TEST $CLI volume heal $V0 |