mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: time limit waiting on lvmetad kill
This commit is contained in:
parent
b5da4fdfce
commit
3b3ee66b1f
@ -19,7 +19,11 @@ SKIP_WITH_LVMPOLLD=1
|
||||
aux prepare_devs 2
|
||||
|
||||
kill "$(< LOCAL_LVMETAD)"
|
||||
while test -e "$TESTDIR/lvmetad.socket"; do echo -n .; sleep .1; done # wait for the socket close
|
||||
for i in {200..0} ; do
|
||||
test -e "$TESTDIR/lvmetad.socket" || break
|
||||
test "$i" -eq 0 && die "Too slow closing of lvmetad.socket. Aborting test."
|
||||
echo -n .; sleep .1;
|
||||
done # wait for the socket close
|
||||
test ! -e "$LVM_LVMETAD_PIDFILE"
|
||||
|
||||
aux lvmconf "global/use_lvmetad = 0"
|
||||
|
Loading…
Reference in New Issue
Block a user