From 6019e988a3ec40fb78127dce577be125ac23af98 Mon Sep 17 00:00:00 2001 From: Raghavendra Talur Date: Wed, 30 Dec 2015 21:07:54 +0530 Subject: tests: use SIGKILL in cleanup, not SIGTERM Sending a SIGTERM to test processes and waiting a second for them to gracefully exit before sending a SIGKILL seems like a waste of time. Just send SIGKILL directly. Change-Id: Icc73b07eae47876ba41955793a8daf77a964a0e0 BUG: 1294826 Signed-off-by: Raghavendra Talur Reviewed-on: http://review.gluster.org/13121 Tested-by: Gluster Build System Reviewed-by: Atin Mukherjee --- tests/include.rc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/include.rc b/tests/include.rc index 4bd4c49a33b..76b81875bbc 100644 --- a/tests/include.rc +++ b/tests/include.rc @@ -444,13 +444,6 @@ function cleanup() umount $flag /tmp/mnt* 2>/dev/null - # Kill all gluster processes with SIGTERM - killall -15 glusterfs glusterfsd glusterd 2>/dev/null || true; - test x"$OSTYPE" = x"NetBSD" && pkill -15 perfused rpc.statd || true - - # Wait a second for SIGTERM to work - sleep 1 - # Send SIGKILL to all gluster processes that are still running killall -9 glusterfs glusterfsd glusterd 2>/dev/null || true; test x"$OSTYPE" = x"NetBSD" && pkill -9 perfused rpc.statd || true -- cgit