Skip to contentSkip to conversation

master - tests: use exclusive activation

PATCH Zdenek Kabelac 1 participant 1 message Mar 25, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=36d87eddcf280e9c394e10ac5860ed4d84eaf4a2
Commit:        36d87eddcf280e9c394e10ac5860ed4d84eaf4a2
Parent:        db1d4ba4ac267d32ef0c8c96d0e1785863d40f0a
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Mar 24 10:33:26 2014 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Mar 25 11:23:00 2014 +0100

tests: use exclusive activation

pvmove in cluster needs exlusive activation or cmirrord running.

---
 test/shell/pvmove-background.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/shell/pvmove-background.sh +1 -1
index 0f657be..f38d723 100644
@@ -15,7 +15,7 @@
 
 aux prepare_vg 3
 
-lvcreate -l1 -n $lv1 $vg "$dev1"
+lvcreate -aey -l1 -n $lv1 $vg "$dev1"
 
 lvs -o +devices | grep $dev1
 pvmove -i 1 -b "$dev1" "$dev2"