summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-07-01 01:09:27 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-07-01 01:09:27 +0000
commit03b14f7f8144803884e7c79700e200d8565f7179 (patch)
treebbb9e4de52cdd1594afeabf642409973dccc8582
parente9728a7777e0ad1761e52010fc244c43a681d9a1 (diff)
parent42cc7d9f0071eea03fc47bd904a5de6849ba3d41 (diff)
downloadStatsD-03b14f7f8144803884e7c79700e200d8565f7179.tar.gz
Snap for 7510676 from 42cc7d9f0071eea03fc47bd904a5de6849ba3d41 to sc-release
Change-Id: I07521fa13f02a01bafe7b34da38394dc4f69759c
-rw-r--r--tests/src/android/cts/statsd/atom/AtomTestCase.java2
-rw-r--r--tests/src/android/cts/statsd/metric/CountMetricsTests.java1
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/android/cts/statsd/atom/AtomTestCase.java b/tests/src/android/cts/statsd/atom/AtomTestCase.java
index 114ff54c..c7e984ef 100644
--- a/tests/src/android/cts/statsd/atom/AtomTestCase.java
+++ b/tests/src/android/cts/statsd/atom/AtomTestCase.java
@@ -129,7 +129,7 @@ public class AtomTestCase extends BaseTestCase {
public static final int PHONE_TYPE_CDMA = 2;
public static final int PHONE_TYPE_CDMA_LTE = 6;
- protected static final int WAIT_TIME_SHORT = 1000;
+ protected static final int WAIT_TIME_SHORT = 500;
protected static final int WAIT_TIME_LONG = 2_000;
protected static final long SCREEN_STATE_CHANGE_TIMEOUT = 4000;
diff --git a/tests/src/android/cts/statsd/metric/CountMetricsTests.java b/tests/src/android/cts/statsd/metric/CountMetricsTests.java
index a63e01e3..dd1240f2 100644
--- a/tests/src/android/cts/statsd/metric/CountMetricsTests.java
+++ b/tests/src/android/cts/statsd/metric/CountMetricsTests.java
@@ -55,6 +55,7 @@ public class CountMetricsTests extends DeviceAtomTestCase {
uploadConfig(builder);
doAppBreadcrumbReportedStart(0);
+ Thread.sleep(100);
doAppBreadcrumbReportedStop(0);
Thread.sleep(2000); // Wait for the metrics to propagate to statsd.