summaryrefslogtreecommitdiff
path: root/test/MultiDex/Main.java
diff options
context:
space:
mode:
authorEric Holk <eholk@google.com>2021-03-12 21:23:42 +0000
committerTreehugger Robot <treehugger-gerrit@google.com>2021-03-15 20:44:56 +0000
commit27dc87782f68bebae95c4ab87fe21bb638008a96 (patch)
treed8e7e5920ad38afb01b6c2bd81be6e632683f895 /test/MultiDex/Main.java
parent41b1892c043a301f86ca1c6b887c796fbc098669 (diff)
Revert^2 "[metrics] Always enable background thread"
Having the thread enabled in some cases and not in others was causing issues this tests. To avoid needing to handle multiple configurations, this CL enables the background reporting thread always. In general, metrics reporting will be enabled, so this better reflects the default state of things. This reverts commit 3f64940d7c6ce4d3f06ea5dbe195c244ca7a8fbc. Reason for revert: Deflaking tests The issue was that sometimes the metrics background thread would start late and get captured by the thread life cycle callbacks instead of the correct thread. The fix is to request a synchronous metrics report before starting the test, which forces us to wait until the metrics thread is up and running. Test: ./test.py --run-test --host Test: art_runtime_tests \ --gtest_filter="ThreadLifecycleCallbackRuntimeCallbacksTest.*" Bug: 170149255 Change-Id: I007437abd1a3404960f79cf1596c95b8da917286
Diffstat (limited to 'test/MultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions