mirror of
https://github.com/androidx/media.git
synced 2025-05-16 20:19:57 +08: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
This commit is contained in:
parent
87f1b4252e
commit
9cc75ca52e
@ -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…
x
Reference in New Issue
Block a user