1
0
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:
Zdenek Kabelac 2021-03-26 00:43:44 +01:00
parent 5feb99dda6
commit 9bcc76b63c

View File

@ -74,7 +74,8 @@ check lv_field $vg/$lv1 sync_percent "100.00"
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"
else
check lv_field $vg/$lv1 sync_percent "100.00"
fi