Merge pull request #773 from katlapinka/test-fixes

Scope minor tests fixes
This commit is contained in:
Katarzyna Łapińska
2021-05-10 13:56:13 +02:00
committed by GitHub
10 changed files with 67 additions and 39 deletions

View File

@@ -47,7 +47,7 @@ def test_trim_eviction(cache_mode, cache_line_size, filesystem, cleaning):
cache_block_size = disk_utils.get_block_size(cache_disk)
with TestRun.step("Start cache on device supporting trim and add core."):
cache = casadm.start_cache(cache_dev, cache_mode, cache_line_size)
cache = casadm.start_cache(cache_dev, cache_mode, cache_line_size, force=True)
cache.set_cleaning_policy(cleaning)
Udev.disable()
core = cache.add_core(core_dev)