Comment out terminate unit test until fix lands in Dart. (flutter/engine#27625)

* Comment out terminate unit test until fix lands in Dart.

* Address review comments.
This commit is contained in:
Siva
2021-07-21 12:24:16 -07:00
committed by GitHub
parent cb3a10ee09
commit 3635ddb39f

View File

@@ -123,6 +123,11 @@ TEST_F(EmbedderTest, CanInvokeCustomEntrypointMacro) {
ASSERT_TRUE(engine.is_valid());
}
/*
* Uncomment once a Dart roll with the fix to reinitialize dart-io state
* correctly has landed and rolled into the engine.
* https://dart-review.googlesource.com/c/sdk/+/207642
*
TEST_F(EmbedderTest, CanTerminateCleanly) {
auto& context = GetEmbedderContext(EmbedderTestContextType::kSoftwareContext);
EmbedderConfigBuilder builder(context);
@@ -131,6 +136,7 @@ TEST_F(EmbedderTest, CanTerminateCleanly) {
auto engine = builder.LaunchEngine();
ASSERT_TRUE(engine.is_valid());
}
*/
std::atomic_size_t EmbedderTestTaskRunner::sEmbedderTaskRunnerIdentifiers = {};