From 2ec3e7dca8822770b3eb832488b9897b7d372e01 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 7 Nov 2016 11:05:50 +0100 Subject: [PATCH] tests: test raid0_meta type Enable testing of raid0_meta type. Also slow down devices a bit more. --- test/shell/lvcreate-raid-nosync.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/shell/lvcreate-raid-nosync.sh b/test/shell/lvcreate-raid-nosync.sh index 1343e8f6e..b1916f5f0 100644 --- a/test/shell/lvcreate-raid-nosync.sh +++ b/test/shell/lvcreate-raid-nosync.sh @@ -24,12 +24,12 @@ aux prepare_vg 6 # Delay 1st leg so that rebuilding status characters # can be read before resync finished too quick. -aux delay_dev "$dev1" 0 10 $(get first_extent_sector "$dev1") +aux delay_dev "$dev1" 0 50 $(get first_extent_sector "$dev1") # raid0/raid0_meta don't support resynchronization for r in raid0 raid0_meta do - lvcreate --yes --type raid0 -i 3 -l 1 -n $lv1 $vg + lvcreate --yes --type $r -i 3 -l 1 -n $lv1 $vg check raid_leg_status $vg $lv1 "AAA" lvremove --yes $vg/$lv1 done @@ -47,7 +47,7 @@ check raid_leg_status $vg $lv1 "AAA" lvremove --yes $vg/$lv1 for r in $segtypes -do +do # raid4/5 support resynchronization lvcreate --yes --type $r -i 3 -l 2 -n $lv1 $vg check raid_leg_status $vg $lv1 "aaaa"