From 6a902db1976a08cd1f601dae4cf97504d689006c Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Tue, 26 Mar 2024 09:40:49 -0700 Subject: [PATCH] [macOS] Disable FlutterEngineTest.CanOverrideBackgroundColor (flutter/engine#51669) This was re-enabled in https://github.com/flutter/flutter/issues/124677 after fixing leaks in https://github.com/flutter/engine/pull/50832. Since this test involves an NSWindow, there are separate fixes that should be landed to reduce flakes related to lack of NSWindow close calls in the tests. See related AppKit bug report filed at http://www.openradar.me/FB13291861. Issue: https://github.com/flutter/flutter/issues/145728 Related issue: https://github.com/flutter/flutter/issues/124677 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style --- .../platform/darwin/macos/framework/Source/FlutterEngineTest.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterEngineTest.mm b/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterEngineTest.mm index 209903d8fa..7b08131814 100644 --- a/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterEngineTest.mm +++ b/engine/src/flutter/shell/platform/darwin/macos/framework/Source/FlutterEngineTest.mm @@ -251,7 +251,7 @@ TEST_F(FlutterEngineTest, BackgroundIsBlack) { latch.Wait(); } -TEST_F(FlutterEngineTest, CanOverrideBackgroundColor) { +TEST_F(FlutterEngineTest, DISABLED_CanOverrideBackgroundColor) { FlutterEngine* engine = GetFlutterEngine(); // Latch to ensure the entire layer tree has been generated and presented.