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

tests: make reshape bug more easier to hit

Seems this delay_dev usage exposing some reshape window creation bug.
So make delay bigger to hit the error easier.
This commit is contained in:
Zdenek Kabelac 2024-12-02 15:31:29 +01:00
parent 75907f0e80
commit d791f160a8

View File

@ -66,7 +66,7 @@ aux delay_dev "$dev2" 0 100
# Reshape it to 15 data stripes # Reshape it to 15 data stripes
lvconvert --yes --stripes 15 $vg/$lv1 lvconvert --yes --stripes 15 $vg/$lv1
aux disable_dev $dev1 aux disable_dev $dev1
aux delay_dev "$dev2" 0 0 aux delay_dev "$dev2" 0 50
check lv_first_seg_field $vg/$lv1 segtype "raid5_ls" check lv_first_seg_field $vg/$lv1 segtype "raid5_ls"
check lv_first_seg_field $vg/$lv1 stripesize "64.00k" check lv_first_seg_field $vg/$lv1 stripesize "64.00k"
check lv_first_seg_field $vg/$lv1 data_stripes 15 check lv_first_seg_field $vg/$lv1 data_stripes 15