summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2017-05-25 15:06:57 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2017-05-29 14:41:53 +0200
commit597b3576c7399d76ab4da5dccf505f2f2cc4fce2 (patch)
treebed3b5a6198ad23cfe77294b4c0e77943ade2948
parent223c594f0e9e0248739a3bbb1c98fbf509140e6b (diff)
downloadlvm2-597b3576c7399d76ab4da5dccf505f2f2cc4fce2.tar.gz
tests: wait for raid in sync
Lvchange needs synchronized raid.
-rw-r--r--test/shell/lvchange-raid.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/shell/lvchange-raid.sh b/test/shell/lvchange-raid.sh
index 34a40dc8d..7418cd557 100644
--- a/test/shell/lvchange-raid.sh
+++ b/test/shell/lvchange-raid.sh
@@ -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 "-"