Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41b2ea64 authored by Keun young Park's avatar Keun young Park Committed by android-build-merger
Browse files

Test flaky test: Always wait for handle task to complete

am: e320cdb4

Change-Id: I18fdc1648a3b313c75dc0f2f5a7198e18c56b69d
parents 72a856f1 e320cdb4
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -484,9 +484,6 @@ public class UserControllerTest {

    private void waitForHandlerToComplete(Handler handler, long waitTimeMs)
            throws InterruptedException {
        if (!handler.hasMessagesOrCallbacks()) { // if nothing queued, do not wait.
            return;
        }
        final Object lock = new Object();
        synchronized (lock) {
            handler.post(() -> {