diff options
author | Jeff Darcy <jdarcy@redhat.com> | 2017-02-02 11:41:06 -0500 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2017-02-02 15:46:19 -0500 |
commit | 1e849f616f6ae2f97ab307abaff69182c87571ca (patch) | |
tree | 0bcb6822cd1a6936af41ee34f138fd048206e261 /tests/bugs/glusterfs/bug-867253.t | |
parent | 5a57c1592a34ee6632ca1fb38e076dde381d1ae2 (diff) |
tests: use kill_brick instead of kill -9
The system actually handles this OK, but with multiplexing the result
of killing the whole process is not what some tests assumed.
Change-Id: I89ebf0039ab1369f25b0bfec3710ec4c13725915
BUG: 1385758
Signed-off-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-on: https://review.gluster.org/16528
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'tests/bugs/glusterfs/bug-867253.t')
-rw-r--r-- | tests/bugs/glusterfs/bug-867253.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bugs/glusterfs/bug-867253.t b/tests/bugs/glusterfs/bug-867253.t index acbbdf8c1e7..c2c6c2ab629 100644 --- a/tests/bugs/glusterfs/bug-867253.t +++ b/tests/bugs/glusterfs/bug-867253.t @@ -36,7 +36,7 @@ TEST mount_nfs $H0:/$V0 $M0 nolock,noac; touch $M0/files{1..1000}; # Kill a brick process -kill -9 `cat $GLUSTERD_WORKDIR/vols/$V0/run/$H0-d-backends-${V0}0.pid`; +kill_brick $V0 $H0 $B0/${V0}0 drop_cache $M0 @@ -47,7 +47,7 @@ NEW_FILE_COUNT=`echo $?`; TEST $CLI volume start $V0 force # Kill a brick process -kill -9 `cat $GLUSTERD_WORKDIR/vols/$V0/run/$H0-d-backends-${V0}1.pid`; +kill_brick $V0 $H0 $B0/${V0}1 drop_cache $M0 |