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

Commit 0fb741f2 authored by chaviw's avatar chaviw
Browse files

Marked #testCancel_sneakyCancelBeforeUpdate as flaky.

Bug: 71719744
Change-Id: Ifbfd2f5f828ac94bdf143448830c56bc0d02daee
parent 03033385
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ import android.animation.ValueAnimator;
import android.graphics.Matrix;
import android.graphics.Point;
import android.platform.test.annotations.Presubmit;
import android.support.test.filters.FlakyTest;
import android.support.test.filters.SmallTest;
import android.support.test.runner.AndroidJUnit4;
import android.view.Choreographer;
@@ -135,6 +136,7 @@ public class SurfaceAnimationRunnerTest extends WindowTestsBase {
        assertFinishCallbackNotCalled();
    }

    @FlakyTest(bugId = 71719744)
    @Test
    public void testCancel_sneakyCancelBeforeUpdate() throws Exception {
        mSurfaceAnimationRunner = new SurfaceAnimationRunner(null, () -> new ValueAnimator() {