summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Kozina <okozina@redhat.com>2015-05-06 15:20:11 +0200
committerOndrej Kozina <okozina@redhat.com>2015-05-06 15:20:11 +0200
commit5bbf083cd1245a2d509dc0ef4fcc8b99a07da10f (patch)
treea942a3ddf65a09df9a7dfd5812885806af9a254b
parent9fc6b654f55dfe0d6c1a7fc214f9d35cb505be11 (diff)
downloadlvm2-5bbf083cd1245a2d509dc0ef4fcc8b99a07da10f.tar.gz
tests: do not restart lvmetad when not necessary
overlooked pvmove-restart test during cleanup
-rw-r--r--test/shell/pvmove-restart.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/shell/pvmove-restart.sh b/test/shell/pvmove-restart.sh
index e1408bff1..1ef9a24a5 100644
--- a/test/shell/pvmove-restart.sh
+++ b/test/shell/pvmove-restart.sh
@@ -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