diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2021-03-27 23:15:54 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2021-03-27 23:19:08 +0100 |
commit | f584f0cd9e84c33128200897eebd6edb22557167 (patch) | |
tree | 50a246b3abcc1f549b45c0fe3b28729d23995762 /test/shell | |
parent | 5ec7992e29fdf3273673f712d6a9f231903b6bf2 (diff) | |
download | lvm2-f584f0cd9e84c33128200897eebd6edb22557167.tar.gz |
tests: ensure raid is synchronized
Diffstat (limited to 'test/shell')
-rw-r--r-- | test/shell/lvconvert-raid-allocation.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/shell/lvconvert-raid-allocation.sh b/test/shell/lvconvert-raid-allocation.sh index acdae0caa..5420d584d 100644 --- a/test/shell/lvconvert-raid-allocation.sh +++ b/test/shell/lvconvert-raid-allocation.sh @@ -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' |