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

Commit f30b5ca1 authored by Jason Monk's avatar Jason Monk
Browse files

Make QS tile lifecycle tests less flaky (hopefully)

Change-Id: I387c774267c076cf244d2870b051ad6d586d3564
parent b65b7105
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -198,7 +198,7 @@ public class TileLifecycleManagerTests extends AndroidTestCase {
    }

    private void waitForCallback(String callback) {
        for (int i = 0; i < 25; i++) {
        for (int i = 0; i < 50; i++) {
            if (mCallbacks.contains(callback)) {
                mCallbacks.remove(callback);
                return;
@@ -229,7 +229,7 @@ public class TileLifecycleManagerTests extends AndroidTestCase {
                }
            });
            try {
                lock.wait(5000);
                lock.wait(10000);
            } catch (InterruptedException e) {
            }
        }