Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78491e9f authored by Valerie Hau's avatar Valerie Hau
Browse files

Wait for callbacks before exiting test

Bug: 152014889
Test: build, boot, libgui_test
Change-Id: I9673933f81b903081d265ed22d0afb71008a6541
parent 14f49cd4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -722,5 +722,8 @@ TEST_F(BLASTFrameEventHistoryTest, FrameEventHistory_Basic) {
    ASSERT_EQ(2, events->frameNumber);
    ASSERT_EQ(requestedPresentTimeB, events->requestedPresentTime);
    ASSERT_GE(events->postedTime, postedTimeB);

    // wait for any callbacks that have not been received
    adapter.waitForCallbacks();
}
} // namespace android