From a705480b5d1f4659bf4d210ea2588d3cc2ae2424 Mon Sep 17 00:00:00 2001 From: bachinger Date: Fri, 6 Dec 2019 15:24:55 +0000 Subject: [PATCH] remove flakiness of testSeekTo_windowIndexIsReset PiperOrigin-RevId: 284180332 --- .../test/java/com/google/android/exoplayer2/ExoPlayerTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/core/src/test/java/com/google/android/exoplayer2/ExoPlayerTest.java b/library/core/src/test/java/com/google/android/exoplayer2/ExoPlayerTest.java index 7d2b143925..c4f7ed32ad 100644 --- a/library/core/src/test/java/com/google/android/exoplayer2/ExoPlayerTest.java +++ b/library/core/src/test/java/com/google/android/exoplayer2/ExoPlayerTest.java @@ -3012,6 +3012,7 @@ public final class ExoPlayerTest { final long[] positionMs = {C.TIME_UNSET}; ActionSchedule actionSchedule = new ActionSchedule.Builder("testSeekTo_windowIndexIsReset_deprecated") + .pause() .seek(/* windowIndex= */ 1, /* positionMs= */ C.TIME_UNSET) .waitForSeekProcessed() .playUntilPosition(/* windowIndex= */ 1, /* positionMs= */ 5000) @@ -3053,6 +3054,7 @@ public final class ExoPlayerTest { final long[] positionMs = {C.TIME_UNSET}; ActionSchedule actionSchedule = new ActionSchedule.Builder("testSeekTo_windowIndexIsReset") + .pause() .seek(/* windowIndex= */ 1, /* positionMs= */ C.TIME_UNSET) .waitForSeekProcessed() .playUntilPosition(/* windowIndex= */ 1, /* positionMs= */ 5000)