mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: this test has race in it depending on kernel
Some kernel seems to keep 'lvextend' busy so long, that actual resize already happens. So ATM use 'should' until something better is invented.
This commit is contained in:
parent
dd1f5f9a24
commit
8df0a32abb
@ -63,7 +63,8 @@ aux delayzero_dev "$dev2" 0 50 "${sector}:"
|
||||
lvextend -y -L+${lvext}M $vg/$lv1
|
||||
if [ $PROGRESS -eq 1 ]
|
||||
then
|
||||
not check lv_field $vg/$lv1 sync_percent "100.00"
|
||||
# Even with delayed devices wre are catching races here.
|
||||
should not check lv_field $vg/$lv1 sync_percent "100.00"
|
||||
check lv_field $vg/$lv1 size "$(($lvsz)).00m" $vg/$lv1
|
||||
fi
|
||||
aux wait_for_sync $vg $lv1
|
||||
|
Loading…
Reference in New Issue
Block a user