mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
tests: ignore racy test failure
When test fails here, make it just warning instead of failing whole test.
This commit is contained in:
parent
d757b2431a
commit
15e657f110
@ -79,12 +79,15 @@ vgextend $vg "$dev3"
|
|||||||
lvremove -ff $vg/$lv1
|
lvremove -ff $vg/$lv1
|
||||||
|
|
||||||
# Delayed sync to allow for repair during rebuild
|
# Delayed sync to allow for repair during rebuild
|
||||||
delay 50
|
delay 60
|
||||||
|
|
||||||
# RAID5 single replace during initial sync
|
# RAID5 single replace during initial sync
|
||||||
lvcreate --type raid5 -i 2 -L $RAID_SIZE -n $lv1 $vg "$dev1" "$dev2" "$dev3"
|
lvcreate --type raid5 -i 2 -L $RAID_SIZE -n $lv1 $vg "$dev1" "$dev2" "$dev3"
|
||||||
aux disable_dev "$dev3"
|
aux disable_dev "$dev3"
|
||||||
not lvconvert -y --repair $vg/$lv1
|
# FIXME: there is quite big sleep on several 'status' read retries
|
||||||
|
# so over 3sec - it may actually finish full sync
|
||||||
|
# Use 'should' for this test result.
|
||||||
|
should not lvconvert -y --repair $vg/$lv1
|
||||||
aux wait_for_sync $vg $lv1
|
aux wait_for_sync $vg $lv1
|
||||||
lvconvert -y --repair $vg/$lv1
|
lvconvert -y --repair $vg/$lv1
|
||||||
vgreduce --removemissing $vg
|
vgreduce --removemissing $vg
|
||||||
|
Loading…
Reference in New Issue
Block a user