diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2017-12-01 18:59:55 +0100 |
---|---|---|
committer | Heinz Mauelshagen <heinzm@redhat.com> | 2017-12-01 18:59:55 +0100 |
commit | b74e7f6a781bf7dc4914d8294fcbc6881a539f2e (patch) | |
tree | 2acc18848ed742c2f5b212f31521ec45833e4b8a /test/shell/lvconvert-repair-raid.sh | |
parent | 053314f2954dd94f707ef4a6ae9967ecd69fad6e (diff) | |
download | lvm2-b74e7f6a781bf7dc4914d8294fcbc6881a539f2e.tar.gz |
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.
Diffstat (limited to 'test/shell/lvconvert-repair-raid.sh')
-rw-r--r-- | test/shell/lvconvert-repair-raid.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 } |