]> sourceware.org Git - lvm2.git/commitdiff
tests: wait for raid in sync
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 25 May 2017 13:06:57 +0000 (15:06 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 29 May 2017 12:41:53 +0000 (14:41 +0200)
Lvchange needs synchronized raid.

test/shell/lvchange-raid.sh

index 34a40dc8d8518f592b98c0aed329f9b1688b33b5..7418cd557dc5ee28a19269e3fd0c0682bf6f4e9e 100644 (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 "-"
This page took 0.055154 seconds and 5 git commands to generate.