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 9cc75ca52e49792bed43e4d8fbf67b9a0576fdc0)
This commit is contained in:
tofunmi 2023-10-05 05:46:51 -07:00 committed by oceanjules
parent 3c414fcde4
commit a4582be2c1

View File

@ -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,