Disable flaky/hanging split AOT test (flutter/engine#23070)

This commit is contained in:
Gary Qian 2020-12-15 22:18:07 -07:00 committed by GitHub
parent c17922e187
commit d7ab4b01cd

View File

@ -487,7 +487,9 @@ TEST_F(DartIsolateTest, InvalidLoadingUnitFails) {
ASSERT_TRUE(root_isolate->Shutdown());
}
TEST_F(DartIsolateTest, ValidLoadingUnitSucceeds) {
// TODO(garyq): Re-enable this test, and resolve dart-side hanging future and
// threading. See https://github.com/flutter/flutter/issues/72312
TEST_F(DartIsolateTest, DISABLED_ValidLoadingUnitSucceeds) {
if (!DartVM::IsRunningPrecompiledCode()) {
FML_LOG(INFO) << "Split AOT does not work in JIT mode";
return;
@ -529,6 +531,7 @@ TEST_F(DartIsolateTest, ValidLoadingUnitSucceeds) {
ASSERT_TRUE(isolate->get()->LoadLoadingUnit(2, std::move(isolate_data),
std::move(isolate_instructions)));
Wait();
}
} // namespace testing