diff options
| author | 2016-04-06 12:54:26 -0400 | |
|---|---|---|
| committer | 2016-04-06 12:54:26 -0400 | |
| commit | f30b5ca1b1c565e1f55a5dda1f457fe9a006e63a (patch) | |
| tree | 8c9b6625bd5378a01ff41a05b2f0e7f76448fe82 | |
| parent | b65b7105cd5d20bf8a9f9c1b10afd6df968bc442 (diff) | |
Make QS tile lifecycle tests less flaky (hopefully)
Change-Id: I387c774267c076cf244d2870b051ad6d586d3564
| -rw-r--r-- | packages/SystemUI/tests/src/com/android/systemui/qs/external/TileLifecycleManagerTests.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/tests/src/com/android/systemui/qs/external/TileLifecycleManagerTests.java b/packages/SystemUI/tests/src/com/android/systemui/qs/external/TileLifecycleManagerTests.java index 6a8165942cc0..a30f50775f77 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/qs/external/TileLifecycleManagerTests.java +++ b/packages/SystemUI/tests/src/com/android/systemui/qs/external/TileLifecycleManagerTests.java @@ -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) { } } |