Merge "Temporarily disable testBackgroundDexOptDowngradeSuccessful." am: f4daf63940

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2448063

Change-Id: Ida34d9c9293e8fb7e79d865477a972047450402a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Roland Levillain
2023-02-22 16:58:35 +00:00
committed by Automerger Merge Worker

View File

@@ -31,6 +31,7 @@ import org.junit.After;
import org.junit.Assert; import org.junit.Assert;
import org.junit.Before; import org.junit.Before;
import org.junit.BeforeClass; import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.junit.runners.JUnit4; import org.junit.runners.JUnit4;
@@ -299,6 +300,8 @@ public final class BackgroundDexOptServiceIntegrationTests {
// Test that background dexopt under low storage conditions downgrades unused packages. // Test that background dexopt under low storage conditions downgrades unused packages.
@Test @Test
@Ignore("b/251438180: This test has been failing for a long time; temporarily disable it while"
+ " we investigate this issue.")
public void testBackgroundDexOptDowngradeSuccessful() throws IOException { public void testBackgroundDexOptDowngradeSuccessful() throws IOException {
// Should be more than DOWNGRADE_AFTER_DAYS. // Should be more than DOWNGRADE_AFTER_DAYS.
long deltaDays = DOWNGRADE_AFTER_DAYS + 1; long deltaDays = DOWNGRADE_AFTER_DAYS + 1;