1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-17 06:04:23 +03:00

tests: copy more data

Give pvmove --abort bigger aborting window.
This commit is contained in:
Zdenek Kabelac 2021-03-19 00:52:06 +01:00
parent fe3ef6867f
commit ed90a3d9b4

View File

@ -22,7 +22,7 @@ aux target_at_least dm-mirror 1 10 0 || skip
# Throttle mirroring
aux throttle_dm_mirror || skip
aux prepare_pvs 3 60
aux prepare_pvs 3 90
vgcreate -s 512k $vg "$dev1" "$dev2"
pvcreate --metadatacopies 0 "$dev3"
@ -34,8 +34,8 @@ for backgroundarg in "-b" "" ;
do
# Create multisegment LV
lvcreate -an -Zn -l40 -n $lv1 $vg "$dev1"
lvcreate -an -Zn -l50 -n $lv2 $vg "$dev2"
lvcreate -an -Zn -l60 -n $lv1 $vg "$dev1"
lvcreate -an -Zn -l80 -n $lv2 $vg "$dev2"
cmd1=(pvmove -i1 $backgroundarg $mode "$dev1" "$dev3")
cmd2=(pvmove -i1 $backgroundarg $mode "$dev2" "$dev3")