commit | a4a8fd01fbd1fbb33366db5a60754dec0f4a4f9f | [log] [tgz] |
---|---|---|
author | Rui Qiu <ruiqiu@google.com> | Thu Sep 02 19:08:40 2021 -0700 |
committer | Rui Qiu <ruiqiu@google.com> | Thu Sep 02 19:08:44 2021 -0700 |
tree | 045818bc0807b341af791124dffea2d57428debd | |
parent | fc192df1025a2f8739e0fed88357edb6e2eb6729 [diff] [blame] |
[RESTRICT AUTOMERGE] Fix error prone build breakage caused by databroker test Bug: 198708714 Test: RUN_ERROR_PRONE=true m CarService Change-Id: I02310cffb9bc327e154aa0e0c4dc47a6c07673e8
diff --git a/tests/carservice_unit_test/src/com/android/car/telemetry/databroker/DataBrokerTest.java b/tests/carservice_unit_test/src/com/android/car/telemetry/databroker/DataBrokerTest.java index 2479510..4364ebb 100644 --- a/tests/carservice_unit_test/src/com/android/car/telemetry/databroker/DataBrokerTest.java +++ b/tests/carservice_unit_test/src/com/android/car/telemetry/databroker/DataBrokerTest.java
@@ -335,7 +335,7 @@ private void waitForHandlerThreadToFinish() throws Exception { assertWithMessage("handler not idle in %sms", TIMEOUT_MS) - .that(mIdleHandlerLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); + .that(mIdleHandlerLatch.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)).isTrue(); } private static class FakeScriptExecutor implements IScriptExecutor {