diff --git a/engine/src/flutter/flow/layers/fuchsia_layer_unittests.cc b/engine/src/flutter/flow/layers/fuchsia_layer_unittests.cc index 2a859226ab..ef72830fdf 100644 --- a/engine/src/flutter/flow/layers/fuchsia_layer_unittests.cc +++ b/engine/src/flutter/flow/layers/fuchsia_layer_unittests.cc @@ -590,6 +590,8 @@ TEST_F(FuchsiaLayerTest, PhysicalShapeLayersAndChildSceneLayers) { // against the list above. root->UpdateScene(*(test_context->scene_update_context)); + test_context->session->Flush(); + // Run loop until idle, so that the Session receives and processes // its method calls. async_loop_run_until_idle( @@ -751,6 +753,8 @@ TEST_F(FuchsiaLayerTest, Opacity) { // commands against the list above. root->UpdateScene(*(test_context->scene_update_context)); + test_context->session->Flush(); + // Run loop until idle, so that the Session receives and processes // its method calls. async_loop_run_until_idle(