mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +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};
|
||||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue