diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2016-07-12 10:37:40 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2016-07-12 13:20:56 +0200 |
commit | 957480f4b9e6cbcc0cfc87ed06d0c0283269e17f (patch) | |
tree | 37ee76b408f3231dfdba6710ac5aaa0deab349c9 | |
parent | 1891fa827215a10085bda9c9b660791de997d198 (diff) | |
download | lvm2-957480f4b9e6cbcc0cfc87ed06d0c0283269e17f.tar.gz |
tests: remove more test
Try to remove more tests before confusing older driver to death.
-rw-r--r-- | test/shell/lvchange-cache.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/shell/lvchange-cache.sh b/test/shell/lvchange-cache.sh index 25c59b162..fa7d24c9a 100644 --- a/test/shell/lvchange-cache.sh +++ b/test/shell/lvchange-cache.sh @@ -39,6 +39,10 @@ lvchange --cachepolicy mq --cachesettings migration_threshold=333 $vg/corigin check lv_field $vg/corigin kernel_cache_policy "mq" get lv_field $vg/corigin kernel_cache_settings | grep 'migration_threshold=333' +# Skip these test on older cache driver as it shows errors with these lvchanges +# device-mapper: space map common: index_check failed: blocknr 17179869216 != wanted 11 +if aux have_cache 1 5 0 ; then + lvchange --refresh $vg/corigin get lv_field $vg/corigin kernel_cache_settings | grep 'migration_threshold=333' lvchange -an $vg @@ -68,10 +72,6 @@ grep 'migration_threshold=2048' out grep 'sequential_threshold=13' out grep 'random_threshold=4' out -# Skip these test on older cache driver as it shows errors with these lvchanges -# device-mapper: space map common: index_check failed: blocknr 17179869216 != wanted 11 -if aux have_cache 1 5 0 ; then - lvchange --cachesettings migration_threshold=233 --cachesettings sequential_threshold=13 --cachesettings random_threshold=1 $vg/corigin get lv_field $vg/corigin kernel_cache_settings | tee out grep 'migration_threshold=233' out |