summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2015-08-12 14:18:28 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2015-08-12 14:33:16 +0200
commitc2d814e78d17320a557c1c0fe40440cda896ea2d (patch)
tree8116bf817b77e3e95a12ca49621ad6a6e11c59e0
parent9e3ef2809a83c55131932cbd33b8de0138b590b4 (diff)
downloadlvm2-c2d814e78d17320a557c1c0fe40440cda896ea2d.tar.gz
tests: keep testing mq policy
Tests were written for 'mq' policy, so disable smq.
-rw-r--r--test/shell/lvchange-cache.sh2
-rw-r--r--test/shell/lvconvert-cache-raid.sh2
-rw-r--r--test/shell/lvcreate-cache.sh1
3 files changed, 5 insertions, 0 deletions
diff --git a/test/shell/lvchange-cache.sh b/test/shell/lvchange-cache.sh
index 9ce031429..3efd76289 100644
--- a/test/shell/lvchange-cache.sh
+++ b/test/shell/lvchange-cache.sh
@@ -16,6 +16,8 @@ test -e LOCAL_LVMPOLLD && skip
aux have_cache 1 3 0 || skip
aux prepare_vg 3
+aux lvmconf 'global/cache_disabled_features = [ "policy_smq" ]'
+
lvcreate --type cache-pool -an -v -L 2 -n cpool $vg
lvcreate -H -L 4 -n corigin --cachepool $vg/cpool
lvcreate -n noncache -l 1 $vg
diff --git a/test/shell/lvconvert-cache-raid.sh b/test/shell/lvconvert-cache-raid.sh
index b8333d918..5f51fee4a 100644
--- a/test/shell/lvconvert-cache-raid.sh
+++ b/test/shell/lvconvert-cache-raid.sh
@@ -18,6 +18,8 @@ test -e LOCAL_LVMPOLLD && skip
aux have_cache 1 3 0 || skip
aux have_raid 1 0 0 || skip
+aux lvmconf 'global/cache_disabled_features = [ "policy_smq" ]'
+
aux prepare_vg 5 80
# Bug 1095843
diff --git a/test/shell/lvcreate-cache.sh b/test/shell/lvcreate-cache.sh
index aa0ab53be..b92190911 100644
--- a/test/shell/lvcreate-cache.sh
+++ b/test/shell/lvcreate-cache.sh
@@ -23,6 +23,7 @@ aux have_cache 1 3 0 || skip
# FIXME: parallel cache metadata allocator is crashing when used value 8000!
aux prepare_vg 5 80000
+aux lvmconf 'global/cache_disabled_features = [ "policy_smq" ]'
#######################
# Cache_Pool creation #