test api: don't copy sources in set_up_opencas()
This way set_up_opencas() can be reused in tests Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
@@ -172,8 +172,10 @@ def base_prepare(item):
|
||||
raise Exception(f"Failed to remove partitions from {disk}")
|
||||
|
||||
if get_force_param(item) and not TestRun.usr.already_updated:
|
||||
installer.rsync_opencas_sources()
|
||||
installer.reinstall_opencas()
|
||||
elif not installer.check_if_installed():
|
||||
installer.rsync_opencas_sources()
|
||||
installer.set_up_opencas()
|
||||
TestRun.usr.already_updated = True
|
||||
TestRun.LOGGER.add_build_info(f'Commit hash:')
|
||||
|
Reference in New Issue
Block a user