From b74e7f6a781bf7dc4914d8294fcbc6881a539f2e Mon Sep 17 00:00:00 2001 From: Heinz Mauelshagen Date: Fri, 1 Dec 2017 18:59:55 +0100 Subject: [PATCH] test: allow to succeed in the cluster Avoiding "$(get first_extent_sector "$d")" in the loop allows the test to succeed in the cluster. Further cluster analysis needed to get to the core reason. --- test/shell/lvconvert-repair-raid.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/shell/lvconvert-repair-raid.sh b/test/shell/lvconvert-repair-raid.sh index c866455dd..d29b72d15 100644 --- a/test/shell/lvconvert-repair-raid.sh +++ b/test/shell/lvconvert-repair-raid.sh @@ -25,10 +25,12 @@ aux lvmconf 'allocation/maximise_cling = 0' \ aux prepare_vg 8 80 get_devs +offset=$(get first_extent_sector $dev1) + function delay { for d in "${DEVICES[@]}"; do - aux delay_dev "$d" 0 $1 "$(get first_extent_sector "$d")" + aux delay_dev "$d" 0 $1 "$offset" done }