From d8d747d71c2c5ae4048285c6ff3b3a22bbcf62ff Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Sun, 2 Feb 2014 10:34:43 +0100 Subject: [PATCH] mon: osd-pool-create test must kill -9 If a MON is stuck, kill -15 won't be enough and the test will hang forever. Reviewed-By: Christophe Courtaut Signed-off-by: Loic Dachary --- src/test/mon/osd-pool-create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/mon/osd-pool-create.sh b/src/test/mon/osd-pool-create.sh index b67d120554c19..29e869d005f51 100755 --- a/src/test/mon/osd-pool-create.sh +++ b/src/test/mon/osd-pool-create.sh @@ -43,7 +43,7 @@ function run_mon() { function kill_mon() { for try in 0 1 1 1 2 3 ; do if [ ! -e $DIR/pidfile ] || - ! kill $(cat $DIR/pidfile) ; then + ! kill -9 $(cat $DIR/pidfile) ; then break fi sleep $try -- 2.39.5