All of lore.kernel.org
 help / color / mirror / Atom feed
* master - test: allow to succeed in the cluster
@ 2017-12-01 17:57 Heinz Mauelshagen
  0 siblings, 0 replies; 2+ messages in thread
From: Heinz Mauelshagen @ 2017-12-01 17:57 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=01b3344cbda712130dec96924fb3c2bdfe4c595b
Commit:        01b3344cbda712130dec96924fb3c2bdfe4c595b
Parent:        053314f2954dd94f707ef4a6ae9967ecd69fad6e
Author:        Heinz Mauelshagen <heinzm@redhat.com>
AuthorDate:    Fri Dec 1 18:57:21 2017 +0100
Committer:     Heinz Mauelshagen <heinzm@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
 }
 



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* master - test: allow to succeed in the cluster
@ 2017-12-01 18:00 Heinz Mauelshagen
  0 siblings, 0 replies; 2+ messages in thread
From: Heinz Mauelshagen @ 2017-12-01 18:00 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=b74e7f6a781bf7dc4914d8294fcbc6881a539f2e
Commit:        b74e7f6a781bf7dc4914d8294fcbc6881a539f2e
Parent:        053314f2954dd94f707ef4a6ae9967ecd69fad6e
Author:        Heinz Mauelshagen <heinzm@redhat.com>
AuthorDate:    Fri Dec 1 18:59:55 2017 +0100
Committer:     Heinz Mauelshagen <heinzm@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
 }
 



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-12-01 18:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-01 17:57 master - test: allow to succeed in the cluster Heinz Mauelshagen
2017-12-01 18:00 Heinz Mauelshagen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.