No way to extend timeout period for wait_select_single()
Bug #1297780 reported by
Richard Huddie
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
Triaged
|
Medium
|
Unassigned |
Bug Description
Currently there is no way to override the 10 sec timeout period for the wait_select_
This was required during writing an autopilot test for installing an app on the device. Here the download and install process can easily take longer than 10 seconds, so it would be useful to be able to extend this wait period accordingly.
Changed in autopilot: | |
status: | New → Confirmed |
To post a comment you must log in.
I agree, there should be a public API to do this. Until we get around to adding one, here's a workaround you can do:
my_obj._poll_time = 30 # 30 seconds wait_select_ single( ... )
my_obj.
my_obj._poll_time = 10 # remember to reset it again afterwards!