1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 20:09:11 +00:00

rt-app: relaxing timeouts.

This commit is contained in:
Sergei Trofimov 2015-08-12 11:53:29 +01:00
parent 0e1990a2bb
commit 0703db05cf

View File

@ -266,10 +266,10 @@ class RtApp(Workload):
self.device_working_directory,
TARBALL_FILENAME,
self.device_working_directory)
self.device.execute(tar_command)
self.device.execute(tar_command, timeout=300)
device_path = self.device.path.join(self.device_working_directory, TARBALL_FILENAME)
host_path = os.path.join(context.output_directory, TARBALL_FILENAME)
self.device.pull_file(device_path, host_path, timeout=20)
self.device.pull_file(device_path, host_path, timeout=120)
with tarfile.open(host_path, 'r:gz') as tf:
tf.extractall(context.output_directory)
os.remove(host_path)