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

tests: slightly longer delay

Try to avoid race with slightly longer delay.
This commit is contained in:
Zdenek Kabelac 2017-06-24 22:58:08 +02:00
parent c465ca6a3a
commit 1b9bf5ce9e

View File

@ -39,11 +39,13 @@ done
# Delay dev to ensure we have some time to 'capture' interrupt in flush
aux delay_dev "$dev1" 0 500 $(get first_extent_sector "$dev1"):
lvdisplay --maps $vg
sync
dd if=/dev/zero of="$DM_DEV_DIR/$vg/$lv1" bs=4k count=100 conv=fdatasync
LVM_TEST_TAG="kill_me_$PREFIX" lvconvert -v --splitcache $vg/$lv1 >log 2>&1 &
PID_CONVERT=$!
sleep 0.1
sleep 0.2
kill -INT $PID_CONVERT
aux enable_dev "$dev1"
wait