stable-2.02 - tests: add small delay
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=1d7d3db571e09a25aa7329056f5e052932519212 Commit: 1d7d3db571e09a25aa7329056f5e052932519212 Parent: 2de99760f7a3364a3a33373b6d28782c4423e4fd Author: Zdenek Kabelac <[email protected]> AuthorDate: Wed Sep 23 22:09:37 2020 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Oct 16 18:09:55 2020 +0200
tests: add small delay
Prevent there is no i.e. udev trying to open our device.
--- test/shell/snapshot-remove-dmsetup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
test/shell/snapshot-remove-dmsetup.sh +3 -1
@@ -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 &