mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
remove flakiness of testSeekTo_windowIndexIsReset
PiperOrigin-RevId: 284180332
This commit is contained in:
parent
d0508b2bde
commit
a705480b5d
1 changed files with 2 additions and 0 deletions
|
|
@ -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 {
|
||||||
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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue