summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-872923.t
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2014-06-15 08:40:49 +0530
committerVijay Bellur <vbellur@redhat.com>2014-06-16 11:11:28 -0700
commitd3bd3319afb208acfa905696fb0be5545f5883f6 (patch)
treebfc753e888912b084d7fba56d0bbfe8f2e98d906 /tests/bugs/bug-872923.t
parent6e33d855815726bd8ebf1c7cdc3cf233ff7ac231 (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-872923.t')
-rwxr-xr-xtests/bugs/bug-872923.t6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/bugs/bug-872923.t b/tests/bugs/bug-872923.t
index e94fd905e3b..be7babc0bc8 100755
--- a/tests/bugs/bug-872923.t
+++ b/tests/bugs/bug-872923.t
@@ -1,6 +1,7 @@
#!/bin/bash
. $(dirname $0)/../include.rc
+. $(dirname $0)/../volume.rc
. $(dirname $0)/../nfs.rc
cleanup;
@@ -28,10 +29,7 @@ do
done;
cd ..
-kill `cat /var/lib/glusterd/vols/$V0/run/$H0-d-backends-brick0.pid`
-sleep 2
-
-
+TEST kill_brick $V0 $H0 $B0/brick0
cd test_hardlink_self_heal;
RET=0