Skip to content

Commit

Permalink
test-api: fix core_pool remove
Browse files Browse the repository at this point in the history
Signed-off-by: Kamil Gierszewski <kamil.gierszewski@huawei.com>
  • Loading branch information
Kamil Gierszewski committed Sep 23, 2024
1 parent 64e4b8d commit 6d71961
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/api/cas/casadm.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,5 +516,5 @@ def remove_all_detached_cores() -> None:
from api.cas.casadm_parser import get_cas_devices_dict

devices = get_cas_devices_dict()
for dev in devices["core_pool"]:
TestRun.executor.run(remove_detached_cmd(dev["device"]))
for dev in devices["core_pool"].values():
TestRun.executor.run(remove_detached_cmd(dev["device_path"]))

0 comments on commit 6d71961

Please sign in to comment.