remove flakiness of testSeekTo_windowIndexIsReset

PiperOrigin-RevId: 284180332
This commit is contained in:
bachinger 2019-12-06 15:24:55 +00:00 committed by Oliver Woodman
parent d0508b2bde
commit a705480b5d

View file

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