[macos] Disable background colour tests (flutter/engine#41904)

These tests are flaky. Until they've been deflaked, disable the
following two tests:
* FlutterEngineTest.BackgroundIsBlack
* FlutterEngineTest.CanOverrideBackgroundColor

Issue: https://github.com/flutter/flutter/issues/124677
This commit is contained in:
Chris Bracken 2023-05-10 16:03:58 -07:00 committed by GitHub
parent bdfce08b64
commit de7c02c2cb

View File

@ -134,7 +134,8 @@ TEST_F(FlutterEngineTest, CanLogToStdout) {
EXPECT_TRUE(logs.find("Hello logging") != std::string::npos);
}
TEST_F(FlutterEngineTest, BackgroundIsBlack) {
// TODO(cbracken): Needs deflaking. https://github.com/flutter/flutter/issues/124677
TEST_F(FlutterEngineTest, DISABLED_BackgroundIsBlack) {
FlutterEngine* engine = GetFlutterEngine();
// Latch to ensure the entire layer tree has been generated and presented.
@ -163,7 +164,8 @@ TEST_F(FlutterEngineTest, BackgroundIsBlack) {
latch.Wait();
}
TEST_F(FlutterEngineTest, CanOverrideBackgroundColor) {
// TODO(cbracken): Needs deflaking. https://github.com/flutter/flutter/issues/124677
TEST_F(FlutterEngineTest, DISABLED_CanOverrideBackgroundColor) {
FlutterEngine* engine = GetFlutterEngine();
// Latch to ensure the entire layer tree has been generated and presented.