summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2023-02-21 16:20:33 +0000
committer Roland Levillain <rpl@google.com> 2023-02-21 17:10:14 +0000
commit78c232c7338ac2f6736ae4fd91b939f0283dfe3f (patch)
tree88eadea720c7a66edab3392dd28db47b2d3913cf
parente2b2259804c3ebb1a95a1b73f500e670054d0dbf (diff)
Temporarily disable `testBackgroundDexOptDowngradeSuccessful`.
Test `com.android.server.pm.BackgroundDexOptServiceIntegrationTests#testBackgroundDexOptDowngradeSuccessful` has been failing for a long time; temporarily disable it while we investigate this issue Test: atest BackgroundDexOptServiceIntegrationTests Bug: 251438180 Change-Id: I3584ed2fd49e673a2d9bb37aabb11577c52a6267
-rw-r--r--tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java b/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java
index 90ddb6ffb34a..d2a6bf288be4 100644
--- a/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java
+++ b/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java
@@ -31,6 +31,7 @@ import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.BeforeClass;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
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
+ @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 {
// Should be more than DOWNGRADE_AFTER_DAYS.
long deltaDays = DOWNGRADE_AFTER_DAYS + 1;