Make runtest reboot and root more robust.
Add a couple sleep statements to allow time for device to go offline. Change-Id: I3a5fffc948f6c7b67bcdec4526990a6becd2d02f
This commit is contained in:
@@ -155,6 +155,7 @@ class AdbInterface:
|
||||
return True
|
||||
elif "restarting adbd as root" in output:
|
||||
# device will disappear from adb, wait for it to come back
|
||||
time.sleep(2)
|
||||
self.SendCommand("wait-for-device")
|
||||
return True
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user