1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: ensure raid is synchronized

This commit is contained in:
Zdenek Kabelac 2021-03-27 23:15:54 +01:00
parent 5ec7992e29
commit f584f0cd9e

View File

@ -52,6 +52,8 @@ aux wait_for_sync $vg $lv1
not lvconvert -m +1 $vg/$lv1 \
"$dev5:0-1" "$dev1" "$dev2" "$dev3" "$dev4"
lvconvert -y -m +1 $vg/$lv1 "$dev5"
aux wait_for_sync $vg $lv1
# Cannot pass without --yes
not lvconvert -m 0 $vg/$lv1
lvconvert -y -m 0 $vg/$lv1
# Should work due to '--alloc anywhere'