commit | 7cec098d8a80bb7623750837984d934864443cd6 | [log] [tgz] |
---|---|---|
author | Muhammad Qureshi <[email protected]> | Wed Feb 07 09:33:29 2024 -0800 |
committer | Android Build Cherrypicker Worker <[email protected]> | Wed Feb 07 21:37:33 2024 +0000 |
tree | 9c5b935036ed9bb7d710b351185446b864c536cc | |
parent | b96236cf7575a35490776f16f91ea29441b42b6c [diff] |
Fix CountMetricActiviationAndCondition CTS flake. Metric deactivation creates a partial bucket and when the activation TTL is longer than the bucket size, it can lead to an extra bucket in the report, causing an assertion failure on the bucket count. Fix is to increase the bucket size to be larger than the activation TTL. Bug: 323587540 Test: atest --rerun-until-failure 20 "CtsStatsdHostTestCases:android.cts.statsd.metric.CountMetricsTests#testEventCountWithConditionAndActivation" (cherry picked from https://android-review.googlesource.com/q/commit:9bb2194946729fc6ff6fe3d0867058d1b6e3ab2a) Merged-In: Iad18701b9f51034e3db7f3b53674e6c870f59c5f Change-Id: Iad18701b9f51034e3db7f3b53674e6c870f59c5f