1
0
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:
Zdenek Kabelac 2024-04-07 19:58:30 +02:00
parent d6df31fba1
commit 04e8f8c93d

View File

@ -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