1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

tests: add small delay

Prevent there is no i.e. udev trying to open our device.
This commit is contained in:
Zdenek Kabelac 2020-09-23 22:09:37 +02:00
parent a89ac3bf6f
commit bbc164991a

View File

@ -59,7 +59,9 @@ dmsetup resume $vg1-snap
wait $DMPID
# Try how force removal works
# Try how force removal works (and wait till there is no user)
sync
sleep .5
dmsetup suspend $vg-$lv1
# needs to fail as device is still open
not dmsetup remove --force $vg1-snap &