summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorYunfan Chen <yunfanc@google.com>2019-02-07 19:08:41 +0900
committerYunfan Chen <yunfanc@google.com>2019-02-12 17:38:57 +0900
commitdcb1fcf23b8e4ca6e983d1da909fcdd8e195fb49 (patch)
tree3b90bdf390c56ab6c75c6f813e745465069ba937 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent6a41c383df09459549a84a18f2554f10517d2779 (diff)
Fix flaky AppWindowTokenTests
The only one failure test is marked with corresponding bug ID. Other flakiness are fixed. We need to push a guard task when waiting for handler empty to ensure all the posted tasks is finished after calling the waitHandlerIdle. Otherwise, it is possible that the assertion happens before the posted runnable method finished, which will cause fail, and flakiness. There was a change by default skip onParentChange call for TestAppWindowToken which breaks the tests. Set the flag correctly in setUp fixed it. Bug: 69229402 Bug: 68267650 Test: atest AppWindowTokenTests. All tests other than flaky one should get a stable pass. Change-Id: If485232d676604ec4a5b8d2c9e097fd9794d916e
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions