Chromium Code Reviews
DescriptionFix flakiness in MultithreadedMetrics test for single sample metrics.
Metric shutdown ends up posting a few tasks for which our simple
DoNothing trampoline was insufficient to ensure they completed.
Instead shutdown the thread since we don't need it anymore anyways;
this waits for all posted tasks to complete.
BUG=718973
TEST=ran android test 25 times without failure, failed immediately
prior to this fix.
Review-Url: https://codereview.chromium.org/2894553004
Cr-Commit-Position: refs/heads/master@{#473023}
Committed: https://chromium.googlesource.com/chromium/src/+/a692b66c652e1e0fd2446f469093ee3e5d81539d
Patch Set 1 #
Total comments: 3
Messages
Total messages: 15 (8 generated)
|
|||||||||||||||||||