From efb4b1a5ff1cdfb868fbeb7fcca57844b564b159 Mon Sep 17 00:00:00 2001 From: christosts Date: Thu, 25 Jun 2020 13:23:18 +0100 Subject: [PATCH] Ignore tests until ShadowMediaCodec update Ignore two tests in AsynchronousMediaCodecBufferEnqueuerTest until the ShadowMediaCodec's behavior is updated to apply input buffer ownership. PiperOrigin-RevId: 318251859 --- .../mediacodec/AsynchronousMediaCodecBufferEnqueuerTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/core/src/test/java/com/google/android/exoplayer2/mediacodec/AsynchronousMediaCodecBufferEnqueuerTest.java b/library/core/src/test/java/com/google/android/exoplayer2/mediacodec/AsynchronousMediaCodecBufferEnqueuerTest.java index 38fa04adbc..ed34a4eca8 100644 --- a/library/core/src/test/java/com/google/android/exoplayer2/mediacodec/AsynchronousMediaCodecBufferEnqueuerTest.java +++ b/library/core/src/test/java/com/google/android/exoplayer2/mediacodec/AsynchronousMediaCodecBufferEnqueuerTest.java @@ -31,6 +31,7 @@ import java.io.IOException; import java.util.concurrent.atomic.AtomicLong; 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; @@ -97,6 +98,7 @@ public class AsynchronousMediaCodecBufferEnqueuerTest { /* flags= */ 0)); } + @Ignore @Test public void queueInputBuffer_multipleTimes_limitsObjectsAllocation() { enqueuer.start(); @@ -157,6 +159,7 @@ public class AsynchronousMediaCodecBufferEnqueuerTest { /* flags= */ 0)); } + @Ignore @Test public void queueSecureInputBuffer_multipleTimes_limitsObjectsAllocation() { enqueuer.start();