diff options
| author | 2023-03-07 18:03:11 +0000 | |
|---|---|---|
| committer | 2023-03-07 22:00:22 +0000 | |
| commit | 22a21d24ae4f962edd0f4509b8642d9818152554 (patch) | |
| tree | 15225f6fd5264ad21a0545997cb55415adbc1be1 | |
| parent | ae3f0067f3b50b44407893a7dcb6c384d5553253 (diff) | |
Skip BackgroundDexOptServiceIntegrationTests.
Skip it when ART Service is enabled.
Bug: 272053358
Change-Id: I7b100dfed5f0f7d34026c6ddcd07933410b03a7a
Test: N/A
| -rw-r--r-- | tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java | 3 |
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 d2a6bf288be4..81efda17abe3 100644 --- a/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java +++ b/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/BackgroundDexOptServiceIntegrationTests.java @@ -16,6 +16,8 @@ package com.android.server.pm; +import static org.junit.Assume.assumeFalse; + import android.app.AlarmManager; import android.content.Context; import android.os.Environment; @@ -112,6 +114,7 @@ public final class BackgroundDexOptServiceIntegrationTests { @Before public void setUp() throws IOException { + assumeFalse(SystemProperties.getBoolean("dalvik.vm.useartservice", false)); File dataDir = getContext().getDataDir(); mBigFile = new File(dataDir, BIG_FILE); } |