Skip to contentSkip to conversation

master - tests: wait for initial sync

PATCH Zdenek Kabelac 1 participant 1 message Oct 13, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=cf1c2da836223de64daacd94f0fd40a96f6cd46f
Commit:        cf1c2da836223de64daacd94f0fd40a96f6cd46f
Parent:        c4cc5eabfe722daf88d19b60d58c616c31e57edd
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Tue Oct 13 11:21:40 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Oct 13 16:02:21 2015 +0200

tests: wait for initial sync

Raid should be in-sync ATM for any gaming.

---
 test/shell/lvconvert-repair-raid-dmeventd.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
test/shell/lvconvert-repair-raid-dmeventd.sh +1 -0
index df55449..a5a7a53 100644
@@ -23,6 +23,7 @@ lvcreate -aey --type raid1 -m 3 --ignoremonitoring -L 1 -n 4way $vg
 lvchange --monitor y $vg/4way
 lvs -a -o all,lv_modules $vg
 lvdisplay --maps $vg
+aux wait_for_sync $vg 4way
 aux disable_dev "$dev2" "$dev4"
 mkfs.ext3 "$DM_DEV_DIR/$vg/4way"
 sleep 10 # FIXME: need a "poll" utility, akin to "check"