From cf1c2da836223de64daacd94f0fd40a96f6cd46f Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Tue, 13 Oct 2015 11:21:40 +0200 Subject: [PATCH] tests: wait for initial sync Raid should be in-sync ATM for any gaming. --- test/shell/lvconvert-repair-raid-dmeventd.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/shell/lvconvert-repair-raid-dmeventd.sh b/test/shell/lvconvert-repair-raid-dmeventd.sh index df5544911..a5a7a5375 100644 --- a/test/shell/lvconvert-repair-raid-dmeventd.sh +++ b/test/shell/lvconvert-repair-raid-dmeventd.sh @@ -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"