diff options
author | Nikita Ioffe <ioffe@google.com> | 2020-02-29 13:04:17 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-02-29 13:04:17 +0000 |
commit | 6cf15043239353cd1b3cbb8c18ea57735577d15e (patch) | |
tree | 519758d3bf21637345cd61f1c0c868abe2f23006 | |
parent | 3d641415016b6ed0d5a532b08f4e70bb72b7426b (diff) | |
parent | 5023f0c980728da99188e216269e498730c4476c (diff) | |
download | cts-6cf15043239353cd1b3cbb8c18ea57735577d15e.tar.gz |
Merge "Use rebotUserspaceUntilOnline()"
-rw-r--r-- | hostsidetests/userspacereboot/src/com/android/cts/userspacereboot/host/UserspaceRebootHostTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hostsidetests/userspacereboot/src/com/android/cts/userspacereboot/host/UserspaceRebootHostTest.java b/hostsidetests/userspacereboot/src/com/android/cts/userspacereboot/host/UserspaceRebootHostTest.java index 0100e6a7408..b5fbff1c1a1 100644 --- a/hostsidetests/userspacereboot/src/com/android/cts/userspacereboot/host/UserspaceRebootHostTest.java +++ b/hostsidetests/userspacereboot/src/com/android/cts/userspacereboot/host/UserspaceRebootHostTest.java @@ -156,7 +156,7 @@ public class UserspaceRebootHostTest extends BaseHostJUnit4Test { private void rebootUserspaceAndWaitForBootComplete() throws Exception { assertThat(getDevice().setProperty("test.userspace_reboot.requested", "1")).isTrue(); - getDevice().rebootUserspace(); + getDevice().rebootUserspaceUntilOnline(); assertWithMessage("Device did not boot withing 2 minutes").that( getDevice().waitForBootComplete(Duration.ofMinutes(2).toMillis())).isTrue(); } |