aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-11-04 06:08:31 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-11-04 06:08:31 +0000
commitbc25806f8be30bbc5d8f8cb1eca3e362a5c7088c (patch)
tree2095f6dc381745f7ac67cca1fd3ff141a7799dd5
parent753a14283ad92fa4fcf8680ebed297cf73edc550 (diff)
parentc989cd2654be51f53f5e6d70b5fd6f4d607f1d58 (diff)
downloadcsuite-bc25806f8be30bbc5d8f8cb1eca3e362a5c7088c.tar.gz
Snap for 9255147 from c989cd2654be51f53f5e6d70b5fd6f4d607f1d58 to mainline-resolv-releaseaml_res_331611010aml_res_331512000aml_res_331314010
Change-Id: I85d9fe25dd2e33bfda990c4cd67ce897f1ded942
-rw-r--r--harness/src/test/java/com/android/compatibility/targetprep/AppSetupPreparerTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/harness/src/test/java/com/android/compatibility/targetprep/AppSetupPreparerTest.java b/harness/src/test/java/com/android/compatibility/targetprep/AppSetupPreparerTest.java
index f51c93e..ddba6be 100644
--- a/harness/src/test/java/com/android/compatibility/targetprep/AppSetupPreparerTest.java
+++ b/harness/src/test/java/com/android/compatibility/targetprep/AppSetupPreparerTest.java
@@ -489,7 +489,7 @@ public final class AppSetupPreparerTest {
ITestDevice device = mock(ITestDevice.class);
when(device.getProperty(any())).thenReturn("");
when(device.waitForDeviceShell(anyLong())).thenReturn(true);
- doNothing().when(device).waitForDeviceAvailable(anyLong());
+ when(device.waitForDeviceAvailable(anyLong())).thenReturn(true);
return device;
}