mirror of
https://github.com/samsonjs/media.git
synced 2026-04-05 11:15:46 +00:00
Change equalTo check in ImagePlaybackTest to atLeast
The aim of this test is to make sure the image is onscreen for the right amount of time, so to drive down flakes from the decoder taking too long, change this to an atLeast check
#minor-release
PiperOrigin-RevId: 570988044
(cherry picked from commit 9cc75ca52e)
This commit is contained in:
parent
3c414fcde4
commit
a4582be2c1
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ public class ImagePlaybackTest {
|
|||
TestPlayerRunHelper.runUntilPlaybackState(player, Player.STATE_ENDED);
|
||||
long playbackDurationMs = clock.elapsedRealtime() - playerStartedMs;
|
||||
player.release();
|
||||
assertThat(playbackDurationMs).isEqualTo(totalDurationMs);
|
||||
assertThat(playbackDurationMs).isAtLeast(totalDurationMs);
|
||||
DumpFileAsserts.assertOutput(
|
||||
applicationContext,
|
||||
playbackOutput,
|
||||
|
|
|
|||
Loading…
Reference in a new issue