Commit a705480b by bachinger Committed by Oliver Woodman

remove flakiness of testSeekTo_windowIndexIsReset

PiperOrigin-RevId: 284180332
parent d0508b2b
...@@ -3012,6 +3012,7 @@ public final class ExoPlayerTest { ...@@ -3012,6 +3012,7 @@ public final class ExoPlayerTest {
final long[] positionMs = {C.TIME_UNSET}; final long[] positionMs = {C.TIME_UNSET};
ActionSchedule actionSchedule = ActionSchedule actionSchedule =
new ActionSchedule.Builder("testSeekTo_windowIndexIsReset_deprecated") new ActionSchedule.Builder("testSeekTo_windowIndexIsReset_deprecated")
.pause()
.seek(/* windowIndex= */ 1, /* positionMs= */ C.TIME_UNSET) .seek(/* windowIndex= */ 1, /* positionMs= */ C.TIME_UNSET)
.waitForSeekProcessed() .waitForSeekProcessed()
.playUntilPosition(/* windowIndex= */ 1, /* positionMs= */ 5000) .playUntilPosition(/* windowIndex= */ 1, /* positionMs= */ 5000)
...@@ -3053,6 +3054,7 @@ public final class ExoPlayerTest { ...@@ -3053,6 +3054,7 @@ public final class ExoPlayerTest {
final long[] positionMs = {C.TIME_UNSET}; final long[] positionMs = {C.TIME_UNSET};
ActionSchedule actionSchedule = ActionSchedule actionSchedule =
new ActionSchedule.Builder("testSeekTo_windowIndexIsReset") new ActionSchedule.Builder("testSeekTo_windowIndexIsReset")
.pause()
.seek(/* windowIndex= */ 1, /* positionMs= */ C.TIME_UNSET) .seek(/* windowIndex= */ 1, /* positionMs= */ C.TIME_UNSET)
.waitForSeekProcessed() .waitForSeekProcessed()
.playUntilPosition(/* windowIndex= */ 1, /* positionMs= */ 5000) .playUntilPosition(/* windowIndex= */ 1, /* positionMs= */ 5000)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment