diff options
author | Mohit Agrawal <moagrawal@redhat.com> | 2019-08-19 16:00:24 +0530 |
---|---|---|
committer | Mohit Agrawal <moagrawal@redhat.com> | 2019-08-19 16:04:05 +0530 |
commit | 8f1620ad7f5d3d040fee55c5f873349800e2268d (patch) | |
tree | ed921cc087046c47d67350338a36d6264158eacd /tests/bugs | |
parent | c2b0696f0c2b901b8c34c732c1ba85c364ff2f04 (diff) | |
download | glusterfs-8f1620ad7f5d3d040fee55c5f873349800e2268d.tar.gz glusterfs-8f1620ad7f5d3d040fee55c5f873349800e2268d.tar.xz glusterfs-8f1620ad7f5d3d040fee55c5f873349800e2268d.zip |
glusterd: ./tests/bugs/glusterd/bug-1595320.t is failing
Problem: sometime ./tests/bugs/glusterd/bug-1595320.t is failing is
failing at the time of checking brick_process after sending
a kill signal to brick process
Solution: Wait sometime after just sending a kill signal to brick
process to make sure brick process is stopped
Change-Id: Iee9e91284618abfc62a550d47e4f9117785def58
Fixes: bz#1743200
Signed-off-by: Mohit Agrawal <moagrawal@redhat.com>
Diffstat (limited to 'tests/bugs')
-rw-r--r-- | tests/bugs/glusterd/bug-1595320.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/glusterd/bug-1595320.t b/tests/bugs/glusterd/bug-1595320.t index 3a289f386d..c10e11821a 100644 --- a/tests/bugs/glusterd/bug-1595320.t +++ b/tests/bugs/glusterd/bug-1595320.t @@ -48,7 +48,7 @@ b2_pid_file=$(ls $GLUSTERD_PIDFILEDIR/vols/$V0/*d-backends-2*.pid) b3_pid_file=$(ls $GLUSTERD_PIDFILEDIR/vols/$V0/*d-backends-3*.pid) kill -9 $brick_pid -EXPECT 0 count_brick_processes +EXPECT_WITHIN $PROCESS_UP_TIMEOUT 0 count_brick_processes # Unmount 3rd brick root from node brick_root=$L3 |