Skip to content

Commit 9f1df6e

Browse files
author
Jan Musial
committed
Update pyOCF and tests
Signed-off-by: Jan Musial <[email protected]>
1 parent 2b49867 commit 9f1df6e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/functional/pyocf/types/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def __init__(
205205

206206
def start_cache(self, default_io_queue: Queue = None, mngt_queue: Queue = None):
207207
status = self.owner.lib.ocf_mngt_cache_start(
208-
self.owner.ctx_handle, byref(self.cache_handle), byref(self.cfg)
208+
self.owner.ctx_handle, byref(self.cache_handle), byref(self.cfg), None
209209
)
210210
if status:
211211
raise OcfError("Creating cache instance failed", status)

tests/functional/tests/management/test_start_stop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def test_start_stop_noqueue(pyocf_ctx):
394394

395395
cache_handle = c_void_p()
396396
status = pyocf_ctx.lib.ocf_mngt_cache_start(
397-
pyocf_ctx.ctx_handle, byref(cache_handle), byref(_cache.cfg)
397+
pyocf_ctx.ctx_handle, byref(cache_handle), byref(_cache.cfg), None
398398
)
399399
assert not status, "Failed to start cache: {}".format(status)
400400

0 commit comments

Comments
 (0)