From 9f1df6e3809c091cc7c5bcbb84416b64cd910c43 Mon Sep 17 00:00:00 2001 From: Jan Musial Date: Wed, 26 May 2021 07:50:53 +0200 Subject: [PATCH] Update pyOCF and tests Signed-off-by: Jan Musial --- tests/functional/pyocf/types/cache.py | 2 +- tests/functional/tests/management/test_start_stop.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/pyocf/types/cache.py b/tests/functional/pyocf/types/cache.py index 139727f..a1bef30 100644 --- a/tests/functional/pyocf/types/cache.py +++ b/tests/functional/pyocf/types/cache.py @@ -205,7 +205,7 @@ class Cache: def start_cache(self, default_io_queue: Queue = None, mngt_queue: Queue = None): status = self.owner.lib.ocf_mngt_cache_start( - self.owner.ctx_handle, byref(self.cache_handle), byref(self.cfg) + self.owner.ctx_handle, byref(self.cache_handle), byref(self.cfg), None ) if status: raise OcfError("Creating cache instance failed", status) diff --git a/tests/functional/tests/management/test_start_stop.py b/tests/functional/tests/management/test_start_stop.py index 92fb02e..42149a8 100644 --- a/tests/functional/tests/management/test_start_stop.py +++ b/tests/functional/tests/management/test_start_stop.py @@ -394,7 +394,7 @@ def test_start_stop_noqueue(pyocf_ctx): cache_handle = c_void_p() status = pyocf_ctx.lib.ocf_mngt_cache_start( - pyocf_ctx.ctx_handle, byref(cache_handle), byref(_cache.cfg) + pyocf_ctx.ctx_handle, byref(cache_handle), byref(_cache.cfg), None ) assert not status, "Failed to start cache: {}".format(status)