mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: use allocate policy in raid test
This commit is contained in:
parent
1598bf154e
commit
2a50a28f3e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user