Skip to contentSkip to conversation

master - tests: skip cache tests in cluster

PATCH David Teigland 1 participant 1 message Dec 16, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=3e20bf7e71ace22f554a8c2f7abb7af14d1c90ac
Commit:        3e20bf7e71ace22f554a8c2f7abb7af14d1c90ac
Parent:        40e1d5b269fa76b839e3e8e2e7c9beb2bbbfed5e
Author:        David Teigland <[email protected]>
AuthorDate:    Tue Dec 16 11:43:48 2014 -0600
Committer:     David Teigland <[email protected]>
CommitterDate: Tue Dec 16 11:43:48 2014 -0600

tests: skip cache tests in cluster

The previous commit disabled cache types with cluster. Disable the tests also.

---
 test/shell/lvchange-cache.sh       |    2 ++
 test/shell/lvconvert-cache-raid.sh |    2 ++
 test/shell/lvconvert-cache-thin.sh |    2 ++
 test/shell/lvconvert-cache.sh      |    2 ++
 test/shell/lvcreate-cache.sh       |    2 ++
 5 files changed, 10 insertions(+), 0 deletions(-)
test/shell/lvchange-cache.sh +2 -0
index 87a217a..3b108c1 100644
@@ -11,6 +11,8 @@
 
 . lib/inittest
 
+test -e LOCAL_CLVMD && skip
+
 aux have_cache 1 3 0 || skip
 aux prepare_vg 3
 
test/shell/lvconvert-cache-raid.sh +2 -0
index faab251..f0e0d19 100644
@@ -13,6 +13,8 @@
 
 . lib/inittest
 
+test -e LOCAL_CLVMD && skip
+
 aux have_cache 1 3 0 || skip
 aux have_raid 1 0 0 || skip
 
test/shell/lvconvert-cache-thin.sh +2 -0
index 87256a4..09971b5 100644
@@ -13,6 +13,8 @@
 
 . lib/inittest
 
+test -e LOCAL_CLVMD && skip
+
 aux have_cache 1 3 0 || skip
 aux have_thin 1 0 0 || skip
 
test/shell/lvconvert-cache.sh +2 -0
index ed414ed..35b4ba8 100644
@@ -13,6 +13,8 @@
 
 . lib/inittest
 
+test -e LOCAL_CLVMD && skip
+
 aux have_cache 1 3 0 || skip
 
 aux prepare_vg 5 80
test/shell/lvcreate-cache.sh +2 -0
index f709d8b..6e9b33a 100644
@@ -16,6 +16,8 @@
 
 . lib/inittest
 
+test -e LOCAL_CLVMD && skip
+
 aux have_cache 1 3 0 || skip
 
 # FIXME: parallel cache metadata allocator is crashing when used value 8000!