mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
tests: add sleep
mdadm may eventually be too slow...
This commit is contained in:
parent
d6df31fba1
commit
04e8f8c93d
@ -83,6 +83,7 @@ dmsetup info -c
|
|||||||
# if for any reason array went up - stop it again
|
# if for any reason array went up - stop it again
|
||||||
if mdadm --detail "$mddev" ; then
|
if mdadm --detail "$mddev" ; then
|
||||||
mdadm --stop "$mddev" || true
|
mdadm --stop "$mddev" || true
|
||||||
|
sleep 1
|
||||||
aux udev_wait
|
aux udev_wait
|
||||||
should not mdadm --detail "$mddev"
|
should not mdadm --detail "$mddev"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user