Skip to contentSkip to conversation

master - tests: use exclusive activation for mirror

PATCH Zdenek Kabelac 1 participant 1 message Feb 21, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=921d5972e8bfa778f7389c4abdaa8691ce432c70
Commit:        921d5972e8bfa778f7389c4abdaa8691ce432c70
Parent:        86a660be7b31809500488792a93670a703e12a27
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Feb 20 23:50:27 2017 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Feb 21 00:52:05 2017 +0100

tests: use exclusive activation for mirror

Test suite does not support clustered mirroring.

---
 test/shell/lvresize-usage.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/shell/lvresize-usage.sh +1 -1
index 35f6e57..30cb8d5 100644
@@ -42,7 +42,7 @@ not lvreduce -L 32M $vg/lv
 
 lvremove -ff $vg
 
-lvcreate --type mirror -L 4 -n $lv1 $vg
+lvcreate --type mirror -aey -L 4 -n $lv1 $vg
 # Incorrent name for resized LV
 not lvextend --type mirror -L 10 -n $lv1 $vg
 # Same size