Skip to contentSkip to conversation

master - tests: do not restart lvmetad when not necessary

PATCH okozina 1 participant 1 message May 6, 2015

lore
Share & tools
lore

okozina

author
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=5bbf083cd1245a2d509dc0ef4fcc8b99a07da10f
Commit:        5bbf083cd1245a2d509dc0ef4fcc8b99a07da10f
Parent:        9fc6b654f55dfe0d6c1a7fc214f9d35cb505be11
Author:        Ondrej Kozina <[email protected]>
AuthorDate:    Wed May 6 15:20:11 2015 +0200
Committer:     Ondrej Kozina <[email protected]>
CommitterDate: Wed May 6 15:20:11 2015 +0200

tests: do not restart lvmetad when not necessary

overlooked pvmove-restart test during cleanup

---
 test/shell/pvmove-restart.sh |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
test/shell/pvmove-restart.sh +1 -4
index e1408bf..1ef9a24 100644
@@ -75,10 +75,7 @@ if test -e LOCAL_CLVMD ; then
 	aux prepare_clvmd
 fi
 
-if test -e LOCAL_LVMETAD ; then
-	# Restart lvmetad (kill is built-in)
-	aux prepare_lvmetad
-fi
+aux notify_lvmetad "$dev1" "$dev2" "$dev3"
 
 # Only PVs should be left in table...
 dmsetup table