mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-30 22:54:18 +00:00 
			
		
		
		
	framework/workload: Use installation timeout when pulling apk
The `install_timeout` variable is used to allow extra time when installing an apk, if the apk is not present on the host system it will be pulled back to the host, therefore we should allow extra time when transferring the file in the other direction as well.
This commit is contained in:
		| @@ -806,7 +806,8 @@ class PackageHandler(object): | ||||
|             message = 'Cannot retrieve "{}" as not installed on Target' | ||||
|             raise WorkloadError(message.format(package)) | ||||
|         package_info = self.target.get_package_info(package) | ||||
|         self.target.pull(package_info.apk_path, self.owner.dependencies_directory) | ||||
|         self.target.pull(package_info.apk_path, self.owner.dependencies_directory, | ||||
|                                                 timeout=self.install_timeout) | ||||
|         apk_name = self.target.path.basename(package_info.apk_path) | ||||
|         return os.path.join(self.owner.dependencies_directory, apk_name) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user