Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=b74e7f6a781bf7dc4914d…
Commit: b74e7f6a781bf7dc4914d8294fcbc6881a539f2e
Parent: 053314f2954dd94f707ef4a6ae9967ecd69fad6e
Author: Heinz Mauelshagen <heinzm(a)redhat.com>
AuthorDate: Fri Dec 1 18:59:55 2017 +0100
Committer: Heinz Mauelshagen <heinzm(a)redhat.com>
CommitterDate: Fri Dec 1 18:59:55 2017 +0100
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 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/test/shell/lvconvert-repair-raid.sh b/test/shell/lvconvert-repair-raid.sh
index c866455..d29b72d 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
}
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=01b3344cbda712130dec9…
Commit: 01b3344cbda712130dec96924fb3c2bdfe4c595b
Parent: 053314f2954dd94f707ef4a6ae9967ecd69fad6e
Author: Heinz Mauelshagen <heinzm(a)redhat.com>
AuthorDate: Fri Dec 1 18:57:21 2017 +0100
Committer: Heinz Mauelshagen <heinzm(a)redhat.com>
CommitterDate: Fri Dec 1 18:57:21 2017 +0100
test: allow to succeed in the cluster
Avoiding 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 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/test/shell/lvconvert-repair-raid.sh b/test/shell/lvconvert-repair-raid.sh
index c866455..d29b72d 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
}