commit | 4d31abf25815c30a406961f98421d13a134f630b | [log] [tgz] |
---|---|---|
author | Robin Lee <rgl@google.com> | Mon Jan 15 17:19:46 2024 +0100 |
committer | Robin Lee <rgl@google.com> | Mon Jan 15 17:41:42 2024 +0100 |
tree | 84a25e59e2f22c607aeb3f9df61f3b33a1aed521 | |
parent | c34e586970b0f516c0c4b7b6fa8967c3bbc8117a [diff] |
Deflake testCancel_sneakyCancelBeforeUpdate Waiting one frame for the animation to start is a safe bet. Waiting an additional frame for the cancellation to take effect isn't. This test was 50% flaky before. Test: atest --iterations 10 'com.android.server.wm.SurfaceAnimationRunnerTest#testCancel_sneakyCancelBeforeUpdate' Bug: 71719744 Change-Id: I97ab43e0a31107bd0497a8e02be88cf331d71ce1