Skip to contentSkip to conversation

master - tests: use allocate policy in raid test

PATCH Zdenek Kabelac 1 participant 1 message Jun 23, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=2a50a28f3e8e5a1a7ecbf247f27cc8178ee286bf
Commit:        2a50a28f3e8e5a1a7ecbf247f27cc8178ee286bf
Parent:        1598bf154e80f43a7b215a69dc44bd9a87b166df
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Jun 23 23:22:34 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Jun 23 23:32:44 2017 +0200

tests: use allocate policy in raid test

---
 test/shell/lvconvert-repair-raid-dmeventd.sh |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
test/shell/lvconvert-repair-raid-dmeventd.sh +4 -1
index 1a9e993..84b0591 100644
@@ -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