summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPetr Rockai <prockai@redhat.com>2014-10-01 08:31:53 +0200
committerPetr Rockai <prockai@redhat.com>2015-02-05 13:51:06 +0100
commit17575403d487d8f0deeceea78520f53b68c8573c (patch)
treebbb0c1a063b194ff8cbe9e06f95d3ed2239c06e6 /test
parent1f727f3f3d925af35877ad572ba606965bc6f1e7 (diff)
downloadlvm2-17575403d487d8f0deeceea78520f53b68c8573c.tar.gz
test: Disable lvmetad debug log on another bunch of tests.
Diffstat (limited to 'test')
-rw-r--r--test/shell/mirror-vgreduce-removemissing.sh3
-rw-r--r--test/shell/process-each-lv.sh3
-rw-r--r--test/shell/pvmove-basic.sh5
-rw-r--r--test/shell/vgsplit-operation.sh3
4 files changed, 13 insertions, 1 deletions
diff --git a/test/shell/mirror-vgreduce-removemissing.sh b/test/shell/mirror-vgreduce-removemissing.sh
index fd7169659..88913696b 100644
--- a/test/shell/mirror-vgreduce-removemissing.sh
+++ b/test/shell/mirror-vgreduce-removemissing.sh
@@ -14,6 +14,9 @@ test_description="ensure that 'vgreduce --removemissing' works on mirrored LV"
. lib/inittest
+# disable lvmetad logging as it bogs down test systems
+test -e LOCAL_LVMETAD && aux prepare_lvmetad ""
+
lv_is_on_ ()
{
local lv=$vg/$1
diff --git a/test/shell/process-each-lv.sh b/test/shell/process-each-lv.sh
index 0260951ca..355e92edf 100644
--- a/test/shell/process-each-lv.sh
+++ b/test/shell/process-each-lv.sh
@@ -13,6 +13,9 @@ test_description='Exercise toollib process_each_lv'
. lib/inittest
+# disable lvmetad logging as it bogs down test systems
+test -e LOCAL_LVMETAD && aux prepare_lvmetad ""
+
aux prepare_devs 10
#
diff --git a/test/shell/pvmove-basic.sh b/test/shell/pvmove-basic.sh
index c326dc3d1..e5add05d0 100644
--- a/test/shell/pvmove-basic.sh
+++ b/test/shell/pvmove-basic.sh
@@ -16,6 +16,9 @@ test_description="ensure that pvmove works with basic options"
which md5sum || skip
+# disable lvmetad logging as it bogs down test systems
+test -e LOCAL_LVMETAD && aux prepare_lvmetad ""
+
# ---------------------------------------------------------------------
# Utilities
@@ -355,4 +358,4 @@ else
fi
lvremove -ff $vg
-done \ No newline at end of file
+done
diff --git a/test/shell/vgsplit-operation.sh b/test/shell/vgsplit-operation.sh
index 8081b3821..6b478e802 100644
--- a/test/shell/vgsplit-operation.sh
+++ b/test/shell/vgsplit-operation.sh
@@ -13,6 +13,9 @@
. lib/inittest
+# disable lvmetad logging as it bogs down test systems
+test -e LOCAL_LVMETAD && aux prepare_lvmetad ""
+
COMM() {
LAST_TEST="$@"
}