Closed chuanhsiao closed 3 years ago
Need to add unit tests for the added method:
- regular case, no retry
- retry being triggered and retry is successful
- all three retries failed and an exception is thrown
Added.
Reviewable status: 0 of 2 files reviewed, 7 unresolved discussions (waiting on @chuanhsiao and @xpconanfan)
_tests/mobly/controllers/android_device_lib/adb_test.py, line 733 at r3 (raw file):_
Previously, chuanhsiao wrote… sg, now needs another rebase :)
rebase completed
Sometimes Error "adb: unable to connect for root: closed" occurs when calling AndroidDevice.reboot(), this mechanism attempts to avoid this error causes a test to be stopped.
This change is![Reviewable](https://reviewable.io/review_button.svg)