From 07bbe189a040c0603ed5d828475756d70c587cfe Mon Sep 17 00:00:00 2001 From: Kamil Gierszewski Date: Wed, 2 Oct 2024 00:57:01 +0200 Subject: [PATCH] tests: force cache start in flush huge dirt data test Signed-off-by: Kamil Gierszewski --- .../tests/lazy_writes/test_flush_huge_dirty_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/tests/lazy_writes/test_flush_huge_dirty_data.py b/test/functional/tests/lazy_writes/test_flush_huge_dirty_data.py index 59d3794fd..6b04acb74 100644 --- a/test/functional/tests/lazy_writes/test_flush_huge_dirty_data.py +++ b/test/functional/tests/lazy_writes/test_flush_huge_dirty_data.py @@ -48,7 +48,7 @@ def test_flush_over_640_gibibytes_with_fs(cache_mode, fs): Udev.disable() with TestRun.step(f"Start cache in {cache_mode} mode."): - cache = casadm.start_cache(cache_part, cache_mode) + cache = casadm.start_cache(cache_part, cache_mode, force=True) with TestRun.step(f"Add core with {fs.name} filesystem to cache and mount it."): core_dev.create_filesystem(fs) @@ -132,7 +132,7 @@ def test_flush_over_640_gibibytes_raw_device(cache_mode): Udev.disable() with TestRun.step(f"Start cache in {cache_mode} mode."): - cache = casadm.start_cache(cache_part, cache_mode) + cache = casadm.start_cache(cache_part, cache_mode, force=True) with TestRun.step(f"Add core to cache."): core = cache.add_core(core_dev)