Merge "Make QS tile lifecycle tests less flaky (hopefully)" into nyc-dev

am: b2c8a4a

* commit 'b2c8a4a06a29472f65b9f5a46fcedf106f5a3487':
  Make QS tile lifecycle tests less flaky (hopefully)

Change-Id: I603df4f38c9cdcabc871733b58fb74c031e47b60
This commit is contained in:
Jason Monk
2016-04-06 17:05:36 +00:00
committed by android-build-merger

View File

@@ -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) {
}
}