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

Unified Diff: ui/compositor/layer_unittest.cc

Issue 2827093002: Disable flaky LayerWithRealCompositorTest.ReportMetrics test on windows. (Closed)
Patch Set: disable ReportMetrics test on windows 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 0783ff05ba7638b7d8d2c56af285a0dfeb53479b..d06bf13196b94e21798ab0ce3cc863ce80eb70a6 100644
--- a/ui/compositor/layer_unittest.cc
+++ b/ui/compositor/layer_unittest.cc
@@ -2210,9 +2210,17 @@ class TestMetricsReporter : public ui::AnimationMetricsReporter {
DISALLOW_COPY_AND_ASSIGN(TestMetricsReporter);
};
+// TODO(crbug/709080): LayerWithRealCompositorTest.ReportMetrics is flaky on
+// Windows.
+#if defined(OS_WIN)
+#define MAYBE_ReportMetrics DISABLED_ReportMetrics
+#else
+#define MAYBE_ReportMetrics ReportMetrics
+#endif
+
// Starts an animation and tests that incrementing compositor frame count can
// be used to report animation smoothness metrics.
-TEST_F(LayerWithRealCompositorTest, ReportMetrics) {
+TEST_F(LayerWithRealCompositorTest, MAYBE_ReportMetrics) {
std::unique_ptr<Layer> root(CreateLayer(LAYER_SOLID_COLOR));
GetCompositor()->SetRootLayer(root.get());
LayerAnimator* animator = root->GetAnimator();
« 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