Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(842)

Unified Diff: ui/compositor/layer_unittest.cc

Issue 2857853004: Make animation longer in flaky ReportMetrics test (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_unittest.cc
diff --git a/ui/compositor/layer_unittest.cc b/ui/compositor/layer_unittest.cc
index 5f95f470ffbe11a2405d88b7c0c665131b8d3c17..89fd19a9a74771e38e7c2cefd97b71a28041f550 100644
--- a/ui/compositor/layer_unittest.cc
+++ b/ui/compositor/layer_unittest.cc
@@ -2216,14 +2216,13 @@ class TestMetricsReporter : public ui::AnimationMetricsReporter {
// Starts an animation and tests that incrementing compositor frame count can
// be used to report animation smoothness metrics.
-// Flaky test crbug.com/709080
-TEST_F(LayerWithRealCompositorTest, DISABLED_ReportMetrics) {
+TEST_F(LayerWithRealCompositorTest, ReportMetrics) {
std::unique_ptr<Layer> root(CreateLayer(LAYER_SOLID_COLOR));
GetCompositor()->SetRootLayer(root.get());
LayerAnimator* animator = root->GetAnimator();
std::unique_ptr<ui::LayerAnimationElement> animation_element =
ui::LayerAnimationElement::CreateColorElement(
- SK_ColorRED, base::TimeDelta::FromMilliseconds(100));
+ SK_ColorRED, base::TimeDelta::FromMilliseconds(1000));
ui::LayerAnimationSequence* animation_sequence =
new ui::LayerAnimationSequence(std::move(animation_element));
TestMetricsReporter reporter;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698