Disable sample rate fallback tests.

In some cases encoders include a sample rate in their AudioCapabilities but do not support encoding at that sample rate. This breaks the assumption used to write these tests, so disable them for now until the fallback logic is updated to handle this limitation.

PiperOrigin-RevId: 714055556
This commit is contained in:
Googler 2025-01-10 08:06:28 -08:00 committed by Copybara-Service
parent c26a633d83
commit d9b61b060f

View File

@ -119,6 +119,7 @@ import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestName;
@ -2418,6 +2419,7 @@ public class TransformerEndToEndTest {
}
@Test
@Ignore("TODO: b/389068218 - Fix this test and re-enable it")
public void export_withUnsupportedSampleRateAndFallbackEnabled_exportsWithFallbackSampleRate()
throws Exception {
int unsupportedSampleRate = 96_000;
@ -2444,6 +2446,7 @@ public class TransformerEndToEndTest {
}
@Test
@Ignore("TODO: b/389068218 - Fix this test and re-enable it")
public void
export_withTwoUnsupportedAndOneSupportedSampleRateAndFallbackEnabled_exportsWithFallbackSampleRate()
throws Exception {