Update pyOCF and tests
Signed-off-by: Jan Musial <jan.musial@intel.com>
This commit is contained in:
parent
2b498673f0
commit
9f1df6e380
@ -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)
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user