1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00

workloads/exoplayer: Remove timeout in file transfer

Remove the explict timeout when pushing a media file to the device.
Allow the polling mechanims to monitor the transfer.
This commit is contained in:
Marc Bonnici 2020-11-13 13:37:06 +00:00 committed by setrofim
parent 92e253d838
commit 4c20fe814a

View File

@ -173,7 +173,7 @@ class ExoPlayer(ApkWorkload):
os.path.basename(self.host_video_file))
if self.force_dependency_push or not self.target.file_exists(self.device_video_file):
self.logger.info('Copying {} to device.'.format(self.host_video_file))
self.target.push(self.host_video_file, self.device_video_file, timeout=120)
self.target.push(self.host_video_file, self.device_video_file)
self._original_orientation = self.target.get_rotation()
self.target.set_rotation(1 if self.landscape else 0)