Skip to contentSkip to conversation

master - tests: check default policy is used when unspecified

PATCH Zdenek Kabelac 1 participant 1 message May 5, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=7bb39af03630beb91acd457b9d949f7ecfa0e75e
Commit:        7bb39af03630beb91acd457b9d949f7ecfa0e75e
Parent:        95f0e25601155755baf4ea1649cd241949120185
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu May 5 21:35:19 2016 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu May 5 23:55:20 2016 +0200

tests: check default policy is used when unspecified

If the policy is not given with policy settings we assume the default one is going to be used - it's users responsibility to pair them properly.

---
 test/shell/lvcreate-cache.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/shell/lvcreate-cache.sh +1 -1
index 8f35f93..fbea5b8 100644
@@ -229,7 +229,7 @@ fail lvcreate -H -L10 --chunksize 16M $vg/cpool4
 lvremove -f $vg
 
 lvcreate --type cache-pool -L10 $vg/cpool
-lvcreate --type cache -l 1 --cachepool $vg/cpool -n corigin $vg --cachepolicy mq --cachesettings migration_threshold=233
+lvcreate --type cache -l 1 --cachepool $vg/cpool -n corigin $vg --cachesettings migration_threshold=233
 dmsetup status | grep $vg
 dmsetup status | grep $vg-corigin | grep 'migration_threshold 233'
 lvchange -an $vg