Merge pull request #422 from mmichal10/fix-purge-wrapper
test api: fix purge command wrapper name
This commit is contained in:
commit
2ee69dc919
@ -80,14 +80,14 @@ def try_add(core_device: Device, cache_id: int):
|
||||
|
||||
|
||||
def purge_cache(cache_id: int):
|
||||
output = TestRun.executor.run(script_purge_cache(str(cache_id)))
|
||||
output = TestRun.executor.run(script_purge_cache_cmd(str(cache_id)))
|
||||
if output.exit_code != 0:
|
||||
raise CmdException("Purge cache failed.", output)
|
||||
return output
|
||||
|
||||
|
||||
def purge_core(cache_id: int, core_id: int):
|
||||
output = TestRun.executor.run(script_purge_core(str(cache_id), str(core_id)))
|
||||
output = TestRun.executor.run(script_purge_core_cmd(str(cache_id), str(core_id)))
|
||||
if output.exit_code != 0:
|
||||
raise CmdException("Purge core failed.", output)
|
||||
return output
|
||||
|
Loading…
Reference in New Issue
Block a user