Skip to content

Commit

Permalink
tests: force cache start in flush huge dirt data test
Browse files Browse the repository at this point in the history
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
  • Loading branch information
Kamil Gierszewski committed Oct 1, 2024
1 parent 7fbc949 commit 07bbe18
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 07bbe18

Please sign in to comment.