timeout unit default value is wrong in WaitForIdle.java
Closed this issue · 3 comments
truebit commented
Code here: https://github.com/appium/appium-android-bootstrap/blob/master/bootstrap/src/io/appium/android/bootstrap/handler/WaitForIdle.java#L49
It used timeout=10
for default value.
Actually, UiDevice.waitForIdle(long timeout)
with param in milliseconds: https://android.googlesource.com/platform/frameworks/testing/+/master/uiautomator/library/core-src/com/android/uiautomator/core/UiDevice.java#483
So maybe you the default value should be 10000
imurchie commented
I don't see where this code is actually used. The Android driver never seems to call it.
truebit commented
Maybe. Do you know how to achieve Configurator.getInstance().setWaitForIdleTimeout
in appium? any desired capability in appium?
rkavalap commented
Issue moved to appium/appium #7498 via ZenHub