| commit | 23d5a3964444c048ad34939e8a3c41b6bda4818e | [log] [tgz] |
|---|---|---|
| author | Andrew Lamb <[email protected]> | Fri Dec 06 19:20:34 2024 |
| committer | LUCI CQ <[email protected]> | Fri Dec 06 19:20:34 2024 |
| tree | e0867cfdd86648455d31bafbf63ef5824db8f656 | |
| parent | dd712336790a5cfe899439e42d67a9bbf9da8c69 [diff] |
Catch InvalidResponseErrors during reboot. - Similar to USB connections, with Ethernet connections it is possible adbd restarts the device and closes the connection before it has time to reply. Catch InvalidResponseError in addition to ReadFailedError to handle this race. Bug: 368004900 Change-Id: I15901c1ae43a753a58c4e919c760194bdc0a1328 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/python-adb/+/6072007 Auto-Submit: Andrew Lamb <[email protected]> Reviewed-by: Haiyang Pan <[email protected]> Commit-Queue: Haiyang Pan <[email protected]> Reviewed-by: Ben Pastene <[email protected]>