From 2a50a28f3e8e5a1a7ecbf247f27cc8178ee286bf Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 23 Jun 2017 23:22:34 +0200 Subject: [PATCH] tests: use allocate policy in raid test --- test/shell/lvconvert-repair-raid-dmeventd.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/shell/lvconvert-repair-raid-dmeventd.sh b/test/shell/lvconvert-repair-raid-dmeventd.sh index 1a9e99335..84b05913d 100644 --- a/test/shell/lvconvert-repair-raid-dmeventd.sh +++ b/test/shell/lvconvert-repair-raid-dmeventd.sh @@ -17,6 +17,9 @@ SKIP_WITH_LVMPOLLD=1 which mkfs.ext3 || skip aux have_raid 1 3 0 || skip +aux lvmconf \ + 'activation/raid_fault_policy = "allocate"' + aux prepare_dmeventd aux prepare_vg 5 @@ -27,7 +30,7 @@ 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" +sleep 5 # FIXME: need a "poll" utility, akin to "check" aux enable_dev "$dev2" "$dev4" vgremove -ff $vg