From f33d75e2e586a88ddeb20d860765f091098b8ab5 Mon Sep 17 00:00:00 2001 From: Jonathan Brassow Date: Thu, 10 Jul 2014 18:52:55 -0500 Subject: [PATCH] test: Test failing due to too few PVs Commit 33d69162e4b45e7926d4c0e4a425fedb4246088e reduced the number of PVs to a level where the test could not function. (It is impossible to replace 3 PVs of a 4-way RAID1 LV if there are only 5 PVs.) --- test/shell/lvconvert-raid.sh | 2 +- test/shell/lvconvert-raid456.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/shell/lvconvert-raid.sh b/test/shell/lvconvert-raid.sh index 6f17303b5..bcf3874c6 100644 --- a/test/shell/lvconvert-raid.sh +++ b/test/shell/lvconvert-raid.sh @@ -24,7 +24,7 @@ get_image_pvs() { ######################################################## aux have_raid 1 3 0 || skip -aux prepare_pvs 5 +aux prepare_pvs 9 vgcreate -s 256k $vg $(cat DEVICES) ########################################### diff --git a/test/shell/lvconvert-raid456.sh b/test/shell/lvconvert-raid456.sh index 1ead12827..833b10e0c 100644 --- a/test/shell/lvconvert-raid456.sh +++ b/test/shell/lvconvert-raid456.sh @@ -25,7 +25,7 @@ get_image_pvs() { aux raid456_replace_works || skip aux have_raid 1 3 0 || skip -aux prepare_pvs 6 +aux prepare_pvs 7 # 7 devices for 2 dev replacement of 5-dev RAID6 vgcreate -s 256k $vg $(cat DEVICES) # RAID 4/5/6 (can replace up to 'parity' devices)