Flush the session after updating the scene
This commit is contained in:
committed by
George Wright
parent
34be05b507
commit
9b4556331b
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user