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
This commit is contained in:
tofunmi 2023-10-05 05:46:51 -07:00 committed by Copybara-Service
parent 87f1b4252e
commit 9cc75ca52e

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,