fuchsia: Clean shell_unittests under FEMU (#20704)

This commit is contained in:
David Worsham 2020-08-24 12:47:31 -07:00 committed by GitHub
parent 09e20c1b3e
commit 782f08280c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 11 deletions

View File

@ -238,10 +238,7 @@ if (enable_unittests) {
public_configs += [ ":test_enable_vulkan_config" ]
public_deps += [
"//flutter/testing:vulkan",
"//flutter/vulkan",
]
public_deps += [ "//flutter/vulkan" ]
}
}

View File

@ -967,15 +967,8 @@ TEST_F(ShellTest, ReportTimingsIsCalledSoonerInNonReleaseMode) {
#else
// Our batch time is 100ms. Hopefully the 500ms limit is relaxed enough to
// make it not too flaky.
//
// TODO(https://github.com/flutter/flutter/issues/64087): Fuchsia uses a
// 2000ms timeout to handle slowdowns in FEMU.
#if OS_FUCHSIA
ASSERT_TRUE(elapsed <= fml::TimeDelta::FromMilliseconds(2000));
#else
ASSERT_TRUE(elapsed <= fml::TimeDelta::FromMilliseconds(500));
#endif
#endif
}
TEST_F(ShellTest, ReportTimingsIsCalledImmediatelyAfterTheFirstFrame) {