1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-22 06:50:52 +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 2de99760f7
commit 1d7d3db571

View File

@ -61,7 +61,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 &