mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: add should for racy test
Depending on kernel, the race may or may not happen.
This commit is contained in:
parent
5feb99dda6
commit
9bcc76b63c
@ -74,7 +74,8 @@ check lv_field $vg/$lv1 sync_percent "100.00"
|
|||||||
lvextend -y -L+${lvext}M $vg/$lv1
|
lvextend -y -L+${lvext}M $vg/$lv1
|
||||||
if [ $PROGRESS -eq 1 ]
|
if [ $PROGRESS -eq 1 ]
|
||||||
then
|
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"
|
||||||
else
|
else
|
||||||
check lv_field $vg/$lv1 sync_percent "100.00"
|
check lv_field $vg/$lv1 sync_percent "100.00"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user