Fix flaky test case

PiperOrigin-RevId: 336558226
This commit is contained in:
bachinger 2020-10-11 20:43:00 +01:00 committed by kim-vde
parent 94b8fab25e
commit cf2f9fd7b5

View File

@ -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()