From 358b3ce26b916e53ab83ff9ea3452ec062c0191c Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 16 Mar 2012 19:08:09 +0000 Subject: [PATCH] Longer sleep after clvmd start --- test/lib/aux.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/lib/aux.sh b/test/lib/aux.sh index 0210c5676..9be00510e 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -36,7 +36,7 @@ prepare_clvmd() { test -z "$LVM_VALGRIND_CLVMD" || run_valgrind="run_valgrind" $run_valgrind lib/clvmd -Isinglenode -d 1 -f & local local_clvmd=$! - sleep .1 + sleep .3 # extra sleep for slow valgrind test -z "$LVM_VALGRIND_CLVMD" || sleep 5 # check that it is really running now @@ -176,7 +176,7 @@ teardown() { kill -INT "$(cat LOCAL_CLVMD)" test -z "$LVM_VALGRIND_CLVMD" || sleep 1 sleep .1 - kill -9 "$(cat LOCAL_CLVMD)" || true + kill -9 "$(cat LOCAL_CLVMD)" &>/dev/null || true } echo -n . @@ -288,7 +288,7 @@ prepare_scsi_debug_dev() { } cleanup_scsi_debug_dev() { - aux teardown_devs + teardown_devs rm -f SCSI_DEBUG_DEV LOOP }