mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix flaky test case
PiperOrigin-RevId: 336558226
This commit is contained in:
parent
94b8fab25e
commit
cf2f9fd7b5
1 changed files with 1 additions and 0 deletions
|
|
@ -7844,6 +7844,7 @@ public final class ExoPlayerTest {
|
||||||
SilenceMediaSource mediaSource2 = factory.setTag("2").createMediaSource();
|
SilenceMediaSource mediaSource2 = factory.setTag("2").createMediaSource();
|
||||||
ActionSchedule actionSchedule =
|
ActionSchedule actionSchedule =
|
||||||
new ActionSchedule.Builder(TAG)
|
new ActionSchedule.Builder(TAG)
|
||||||
|
.pause()
|
||||||
.waitForPlaybackState(Player.STATE_READY)
|
.waitForPlaybackState(Player.STATE_READY)
|
||||||
.playUntilPosition(/* windowIndex= */ 1, /* positionMs= */ 2000)
|
.playUntilPosition(/* windowIndex= */ 1, /* positionMs= */ 2000)
|
||||||
.clearMediaItems()
|
.clearMediaItems()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue