1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

tests: wait for raid in sync

Lvchange needs synchronized raid.
This commit is contained in:
Zdenek Kabelac 2017-05-25 15:06:57 +02:00
parent 223c594f0e
commit 597b3576c7

View File

@ -42,6 +42,7 @@ run_writemostly_check() {
printf "#\n#\n#\n# %s/%s (%s): run_writemostly_check\n#\n#\n#\n" \
$vg $lv $segtype
aux wait_for_sync $vg $lv
# No writemostly flag should be there yet.
check lv_attr_bit health $vg/${lv}_rimage_0 "-"