[Bugs] [Bug 1163543] Fix regression test spurious failures
bugzilla at redhat.com
bugzilla at redhat.com
Wed Mar 18 02:44:09 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1163543
--- Comment #65 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9904 committed in master by Vijay Bellur
(vbellur at redhat.com)
------
commit 33bb32ce5866a15e7d5164c67f214c4797236066
Author: Ravishankar N <ravishankar at redhat.com>
Date: Tue Mar 17 12:02:32 2015 +0530
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 at redhat.com>
Reviewed-on: http://review.gluster.org/9904
Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
Tested-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list