Re-enable A11yTreeIsConsistent with higher timeout (flutter/engine#29367)
This commit is contained in:
@@ -21,8 +21,7 @@ namespace testing {
|
||||
|
||||
using Embedder11yTest = testing::EmbedderTest;
|
||||
|
||||
// TODO(52372): De-flake and re-enable.
|
||||
TEST_F(Embedder11yTest, DISABLED_A11yTreeIsConsistent) {
|
||||
TEST_F(Embedder11yTest, A11yTreeIsConsistent) {
|
||||
auto& context = GetEmbedderContext(EmbedderTestContextType::kOpenGLContext);
|
||||
|
||||
fml::AutoResetWaitableEvent latch;
|
||||
|
||||
@@ -30,7 +30,8 @@
|
||||
package: txt_tests-0.far
|
||||
- test_command: run-test-suite fuchsia-pkg://fuchsia.com/ui_tests#meta/ui_tests.cm
|
||||
package: ui_tests-0.far
|
||||
- test_command: run-test-suite fuchsia-pkg://fuchsia.com/embedder_tests#meta/embedder_tests.cm
|
||||
# TODO(fxb/87493): re-enable when this doesn't crash.
|
||||
- test_command: run-test-suite fuchsia-pkg://fuchsia.com/embedder_tests#meta/embedder_tests.cm -- --gtest_filter=-Embedder11yTest.A11yTreeIsConsistent
|
||||
package: embedder_tests-0.far
|
||||
- test_command: run-test-suite fuchsia-pkg://fuchsia.com/dart_utils_tests#meta/dart_utils_tests.cm
|
||||
package: dart_utils_tests-0.far
|
||||
|
||||
@@ -22,8 +22,8 @@ std::optional<fml::TimeDelta> GetTestTimeoutFromArgs(int argc, char** argv) {
|
||||
|
||||
std::string timeout_seconds;
|
||||
if (!command_line.GetOptionValue("timeout", &timeout_seconds)) {
|
||||
// No timeout specified. Default to 30s.
|
||||
return fml::TimeDelta::FromSeconds(30u);
|
||||
// No timeout specified. Default to 120s.
|
||||
return fml::TimeDelta::FromSeconds(120u);
|
||||
}
|
||||
|
||||
const auto seconds = std::stoi(timeout_seconds);
|
||||
|
||||
Reference in New Issue
Block a user