master - tests: ignore racy test failure
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=15e657f110351ab16af8bd79e1716adce9b75beb Commit: 15e657f110351ab16af8bd79e1716adce9b75beb Parent: d757b2431a56bd5ae45fe863423942d89e14cbf9 Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Jan 6 23:37:46 2017 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Fri Jan 6 23:39:53 2017 +0100
tests: ignore racy test failure
When test fails here, make it just warning instead of failing whole test.
--- test/shell/lvconvert-repair-raid.sh | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-)
test/shell/lvconvert-repair-raid.sh +5 -2
@@ -79,12 +79,15 @@ vgextend $vg "$dev3" lvremove -ff $vg/$lv1 # Delayed sync to allow for repair during rebuild -delay 50 +delay 60 # RAID5 single replace during initial sync lvcreate --type raid5 -i 2 -L $RAID_SIZE -n $lv1 $vg "$dev1" "$dev2" "$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 lvconvert -y --repair $vg/$lv1 vgreduce --removemissing $vg