From 33bb32ce5866a15e7d5164c67f214c4797236066 Mon Sep 17 00:00:00 2001 From: Ravishankar N Date: Tue, 17 Mar 2015 12:02:32 +0530 Subject: 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] 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 Reviewed-on: http://review.gluster.org/9904 Reviewed-by: Pranith Kumar Karampuri Tested-by: Pranith Kumar Karampuri Tested-by: Gluster Build System --- tests/bugs/glusterfs/bug-866459.t | 1 - 1 file changed, 1 deletion(-) (limited to 'tests') diff --git a/tests/bugs/glusterfs/bug-866459.t b/tests/bugs/glusterfs/bug-866459.t index f90aa3fdc08..a6c767b4b0e 100644 --- a/tests/bugs/glusterfs/bug-866459.t +++ b/tests/bugs/glusterfs/bug-866459.t @@ -25,7 +25,6 @@ dd of=$M0/a if=/dev/urandom bs=1024k count=1 2>&1 > /dev/null B0_hiphenated=`echo $B0 | tr '/' '-'` ## Bring a brick down TEST kill_brick $V0 $H0 $B0/${V0}1 -EXPECT '1' echo `pgrep glusterfsd | wc -l` ## Rewrite the file dd of=$M0/a if=/dev/urandom bs=1024k count=1 2>&1 > /dev/null TEST $CLI volume start $V0 force -- cgit