mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 12:06:08 +00:00
workloads/rt_app: Remove timeout in file transfer
Remove the explict timeout when pushing to the device. Allow the polling mechanims to monitor the transfer if required.
This commit is contained in:
parent
4c20fe814a
commit
76032c1d05
@ -162,7 +162,7 @@ class RtApp(Workload):
|
||||
self.host_json_config = self._load_json_config(context)
|
||||
self.config_file_on_target = self.target.path.join(self.target_working_directory,
|
||||
os.path.basename(self.host_json_config))
|
||||
self.target.push(self.host_json_config, self.config_file_on_target, timeout=60)
|
||||
self.target.push(self.host_json_config, self.config_file_on_target)
|
||||
self.command = '{} {}'.format(self.target_binary, self.config_file_on_target)
|
||||
|
||||
time_buffer = 30
|
||||
@ -284,7 +284,7 @@ class RtApp(Workload):
|
||||
self.target.execute(tar_command, timeout=300)
|
||||
target_path = self.target.path.join(self.target_working_directory, TARBALL_FILENAME)
|
||||
host_path = os.path.join(context.output_directory, TARBALL_FILENAME)
|
||||
self.target.pull(target_path, host_path, timeout=120)
|
||||
self.target.pull(target_path, host_path)
|
||||
with tarfile.open(host_path, 'r:gz') as tf:
|
||||
tf.extractall(context.output_directory)
|
||||
os.remove(host_path)
|
||||
|
Loading…
Reference in New Issue
Block a user