diff options
author | Ravishankar N <ravishankar@redhat.com> | 2015-03-17 12:02:32 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-03-17 19:44:00 -0700 |
commit | 33bb32ce5866a15e7d5164c67f214c4797236066 (patch) | |
tree | 16b65103a99d4dc4e0793691f47c64830d64f716 /libglusterfs/src/run.c | |
parent | 2a4561ef08b8be3b7d79b951252e87ba8f987120 (diff) |
tests: Fix spurious failure in bug-866459.t
10.TEST kill_brick $V0 $H0 $B0/${V0}1
11.-EXPECT '1' echo `pgrep glusterfsd | wc -l
Problem:
On my Fedora 21 laptop, #11 always fails:"not ok 11 Got "2" instead of "1"
On debugging, I found that after killing, the kernel takes some time to
clean up the process until which it appears as defunct in the pgrep
output:
root 21795 2.0 0.0 0 0 ? Zsl 11:57 0:00 [glusterfsd] <defunct>
Fix:
As long as TEST kill_brick is successful, we really don't need to double
check with the pgrep output. Hence removing that line.
Change-Id: Ia10e0a04803e54a074f73da6523fa6a98c677d58
BUG: 1163543
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: http://review.gluster.org/9904
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'libglusterfs/src/run.c')
0 files changed, 0 insertions, 0 deletions