diff --git a/tests/functional/pyocf/types/cache.py b/tests/functional/pyocf/types/cache.py index 6fdf791..c300161 100644 --- a/tests/functional/pyocf/types/cache.py +++ b/tests/functional/pyocf/types/cache.py @@ -449,6 +449,7 @@ class Cache: [("cache", c_void_p), ("priv", c_void_p), ("error", c_int)] ) + self.owner.lib.ocf_cache_wait_for_io_finish(self.cache_handle) self.owner.lib.ocf_mngt_cache_stop(self.cache_handle, c, None) c.wait()