From cf72664c2c6a075a25619d750405c8a687f2ed1c Mon Sep 17 00:00:00 2001 From: Adam Rutkowski Date: Thu, 16 Dec 2021 21:00:22 +0100 Subject: [PATCH] pyocf: fix cache device config Signed-off-by: Adam Rutkowski --- tests/functional/pyocf/types/cache.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/functional/pyocf/types/cache.py b/tests/functional/pyocf/types/cache.py index 2cf86cc..cbc771b 100644 --- a/tests/functional/pyocf/types/cache.py +++ b/tests/functional/pyocf/types/cache.py @@ -75,6 +75,7 @@ class CacheAttachConfig(Structure): ("_open_cores", c_bool), ("_force", c_bool), ("_discard_on_start", c_bool), + ("_volume_params", c_void_p), ] @@ -447,8 +448,8 @@ class Cache: _cache_line_size=cache_line_size if cache_line_size else self.cache_line_size, - _force=force, _open_cores=True, + _force=force, _discard_on_start=False, )