Skip to contentSkip to conversation

master - test: Disable lvmetad debug log on another bunch of tests.

PATCH Petr Rockai 1 participant 1 message Feb 5, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=17575403d487d8f0deeceea78520f53b68c8573c
Commit:        17575403d487d8f0deeceea78520f53b68c8573c
Parent:        1f727f3f3d925af35877ad572ba606965bc6f1e7
Author:        Petr Rockai <[email protected]>
AuthorDate:    Wed Oct 1 08:31:53 2014 +0200
Committer:     Petr Rockai <[email protected]>
CommitterDate: Thu Feb 5 13:51:06 2015 +0100

test: Disable lvmetad debug log on another bunch of tests.

---
 test/shell/mirror-vgreduce-removemissing.sh |    3 +++
 test/shell/process-each-lv.sh               |    3 +++
 test/shell/pvmove-basic.sh                  |    5 ++++-
 test/shell/vgsplit-operation.sh             |    3 +++
 4 files changed, 13 insertions(+), 1 deletions(-)
test/shell/mirror-vgreduce-removemissing.sh +3 -0
index fd71696..8891369 100644
@@ -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
test/shell/process-each-lv.sh +3 -0
index 0260951..355e92e 100644
@@ -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
 
 #
test/shell/pvmove-basic.sh +4 -1
index c326dc3..e5add05 100644
@@ -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
test/shell/vgsplit-operation.sh +3 -0
index 8081b38..6b478e8 100644
@@ -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="$@"
 }