fuchsia: Increase timeout for flaky test (flutter/engine#20606)

This commit is contained in:
David Worsham 2020-08-18 17:14:30 -07:00 committed by GitHub
parent 1d1f874e67
commit 8b4e07c198

View File

@ -637,8 +637,15 @@ 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) {