Increase polling timeout
Increasing the polling timeout for reminder broadcast with
five seconds. This reflect a change done in
AlarmMangerService.java, where a five second minimum
limit was set for how fast any alarm can trigger
after being created. The commit ID of this change is:
498c6cbd78f42d4f6d2568ead6c2697fcfaa326e
Change-Id: Idba253d2224f1ce465108c8ce59b7fcdab6802e8
diff --git a/tests/tests/provider/src/android/provider/cts/CalendarTest.java b/tests/tests/provider/src/android/provider/cts/CalendarTest.java
index 2f5edd0..c9e2213 100644
--- a/tests/tests/provider/src/android/provider/cts/CalendarTest.java
+++ b/tests/tests/provider/src/android/provider/cts/CalendarTest.java
@@ -61,8 +61,8 @@
// an arbitrary int used by some tests
private static final int SOME_ARBITRARY_INT = 143234;
- // 10 sec timeout for reminder broadcast (but shouldn't usually take this long).
- private static final int POLLING_TIMEOUT = 10000;
+ // 15 sec timeout for reminder broadcast (but shouldn't usually take this long).
+ private static final int POLLING_TIMEOUT = 15000;
// @formatter:off
private static final String[] TIME_ZONES = new String[] {