1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: add short delay

Give some extra delay so the file will be opened.
This commit is contained in:
Zdenek Kabelac 2014-02-15 13:02:41 +01:00
parent 9974136b90
commit 8eedb18c73

View File

@ -55,6 +55,9 @@ trap 'cleanup_tail' EXIT
sleep 30 < $DM_DEV_DIR/$vg1/$lv1 &
SLEEP_PID=$!
# give some short time to lock file above
sleep 0.1
# Opened virtual snapshot device is not removable
# it should retry device removal for a few seconds
not lvremove -f $vg1/$lv1