From cf2f9fd7b5d95b5200650edaa3ce8425fbc2010b Mon Sep 17 00:00:00 2001 From: bachinger Date: Sun, 11 Oct 2020 20:43:00 +0100 Subject: [PATCH] Fix flaky test case PiperOrigin-RevId: 336558226 --- .../test/java/com/google/android/exoplayer2/ExoPlayerTest.java | 1 + 1 file changed, 1 insertion(+) 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 fa31d1a4f4..40f9374bab 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 @@ -7844,6 +7844,7 @@ public final class ExoPlayerTest { SilenceMediaSource mediaSource2 = factory.setTag("2").createMediaSource(); ActionSchedule actionSchedule = new ActionSchedule.Builder(TAG) + .pause() .waitForPlaybackState(Player.STATE_READY) .playUntilPosition(/* windowIndex= */ 1, /* positionMs= */ 2000) .clearMediaItems()