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

Unified Diff: ui/compositor/compositor_unittest.cc

Issue 1976443003: Disable CreateAndReleaseOutputSurface test on windows as it's flaky. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/compositor_unittest.cc
diff --git a/ui/compositor/compositor_unittest.cc b/ui/compositor/compositor_unittest.cc
index 1cf3ae2a0a2a90be3f748f109e6c6e081474ab20..1aafddbc10d29776f6ea55dfcf77e23fae84ca61 100644
--- a/ui/compositor/compositor_unittest.cc
+++ b/ui/compositor/compositor_unittest.cc
@@ -94,7 +94,14 @@ TEST_F(CompositorTest, ReleaseWidgetWithOutputSurfaceNeverCreated) {
compositor()->SetVisible(true);
}
-TEST_F(CompositorTest, CreateAndReleaseOutputSurface) {
+#if defined(OS_WIN)
+// TODO(crbug.com/608436): Flaky on windows trybots
+#define MAYBE_CreateAndReleaseOutputSurface \
+ DISABLED_CreateAndReleaseOutputSurface
+#else
+#define MAYBE_CreateAndReleaseOutputSurface CreateAndReleaseOutputSurface
+#endif
+TEST_F(CompositorTest, MAYBE_CreateAndReleaseOutputSurface) {
std::unique_ptr<Layer> root_layer(new Layer(ui::LAYER_SOLID_COLOR));
root_layer->SetBounds(gfx::Rect(10, 10));
compositor()->SetRootLayer(root_layer.get());
« 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