Skip to content
Commit c1f3e378 authored by Yunfan Chen's avatar Yunfan Chen
Browse files

Fixed flaky testTaskChangeCallbacks and promote three tests to presubmit

The testTaskChangeCallbacks was flaky because the callback onTaskRemoved
can be called after finishAndRemoveTask is called. However, the original
test will assert the callback was not called after calling the
finishAndRemoveTask and wait for the callback afterwards. To fix it,
only ensure the callback was not called before the finishAndRemoveTask
get called.

The other three tests are no longer flaky and promote them to
pre-submit.

Test: atest TaskStackChangedListenerTest
Bug: 123654474
Bug: 74078662
Change-Id: Ie064ae00a4b2493e5aa0f47e1418ce2d25b503de
parent 756bbab5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment