From d2fb779929f05b01b52b78873d39367d72440ee0 Mon Sep 17 00:00:00 2001 From: dancho Date: Thu, 24 Oct 2024 10:02:11 -0700 Subject: [PATCH] Ignore flaky preview tests Tests are flaky because shader program creation is slow PiperOrigin-RevId: 689420905 --- .../mh/performance/VideoCompositionPreviewPerformanceTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/transformer/src/androidTest/java/androidx/media3/transformer/mh/performance/VideoCompositionPreviewPerformanceTest.java b/libraries/transformer/src/androidTest/java/androidx/media3/transformer/mh/performance/VideoCompositionPreviewPerformanceTest.java index 645880cd23..f52078bde9 100644 --- a/libraries/transformer/src/androidTest/java/androidx/media3/transformer/mh/performance/VideoCompositionPreviewPerformanceTest.java +++ b/libraries/transformer/src/androidTest/java/androidx/media3/transformer/mh/performance/VideoCompositionPreviewPerformanceTest.java @@ -46,6 +46,7 @@ import java.util.concurrent.atomic.AtomicLong; import org.checkerframework.checker.nullness.qual.MonotonicNonNull; import org.junit.After; import org.junit.Before; +import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; @@ -86,6 +87,7 @@ public class VideoCompositionPreviewPerformanceTest { * switches do not cause the player to stall. */ @Test + @Ignore("TODO: b/375349144 - Fix this test and re-enable it") public void compositionPlayerCompositionPreviewTest() throws PlaybackException, TimeoutException { PlayerTestListener listener = new PlayerTestListener(TEST_TIMEOUT_MS); instrumentation.runOnMainSync(