Skip to contentSkip to conversation

master - tests: use exclusive activation for mirror case

PATCH Zdenek Kabelac 1 participant 1 message Feb 18, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=0e0f91b6ddcdd338bcd528b3f44eb3f019704fb3
Commit:        0e0f91b6ddcdd338bcd528b3f44eb3f019704fb3
Parent:        b1e8284f339cb412b83f730783ee8a06feac9341
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Tue Feb 18 10:36:53 2014 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Feb 18 10:39:29 2014 +0100

tests: use exclusive activation for mirror case

Since mirror doesn't take exclusive lock implicitely yet, enforce it for cluster testing.

---
 test/shell/lvchange-partial.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/shell/lvchange-partial.sh +1 -1
index 4e508a9..b79004d 100644
@@ -17,7 +17,7 @@ aux prepare_vg 4
 TYPE=raid1
 aux target_at_least dm-raid 1 1 0 || TYPE=mirror
 
-lvcreate --type $TYPE -m 1 -l 2 -n $lv1 $vg
+lvcreate -aey --type $TYPE -m 1 -l 2 -n $lv1 $vg
 lvchange -an $vg/$lv1
 aux disable_dev "$dev1"