Increase FrameExtractorTest timeout

FrameExtractorTest.extractFrame_pastDuration_returnsLastFrame is
sometimes timing out on emulator because it's too slow.

PiperOrigin-RevId: 715771071
This commit is contained in:
kimvde 2025-01-15 06:15:10 -08:00 committed by Copybara-Service
parent fa4cc7c65c
commit c5feb28838

View File

@ -66,7 +66,7 @@ public class FrameExtractorTest {
"test-generated-goldens/FrameExtractorTest/";
private static final String FILE_PATH =
"asset:///media/mp4/sample_with_increasing_timestamps_360p.mp4";
private static final long TIMEOUT_SECONDS = 10;
private static final long TIMEOUT_SECONDS = 20;
// TODO: b/350498258 - Due to bugs in hardware decoders, we can only assert for low PSNR values.
// Move to using software decoders in pixel tests, and increase PSNR threshold.
private static final float PSNR_THRESHOLD = 25f;