Flush the session after updating the scene

This commit is contained in:
George Wright
2020-04-01 13:54:15 -07:00
committed by George Wright
parent 34be05b507
commit 9b4556331b

View File

@@ -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(