commit | 62d78030d5c02036fe4e5cfd77d09fd668de1dcf | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Fri Jul 23 00:40:34 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Jul 23 00:40:34 2021 +0000 |
tree | b79a9772e89dff978846ad4a14c61c15b0e9b8e6 | |
parent | fbd1014eac7085223a69244f83739b7801f1436f [diff] | |
parent | 2e8e32963880079cff177b60e9fdc9fe7ff309da [diff] |
Merge "Failing to `adb disconnect` is not an error"
diff --git a/tests/hostside/helper/java/android/virt/test/VirtualizationTestCaseBase.java b/tests/hostside/helper/java/android/virt/test/VirtualizationTestCaseBase.java index 4cb9dc0..988b1ad 100644 --- a/tests/hostside/helper/java/android/virt/test/VirtualizationTestCaseBase.java +++ b/tests/hostside/helper/java/android/virt/test/VirtualizationTestCaseBase.java
@@ -273,7 +273,8 @@ disconnected = ret.equals("failed to connect to " + MICRODROID_SERIAL); if (disconnected) { // adb demands us to disconnect if the prior connection was a failure. - runOnHost("adb", "disconnect", MICRODROID_SERIAL); + // b/194375443: this somtimes fails, thus 'try*'. + tryRunOnHost("adb", "disconnect", MICRODROID_SERIAL); } }