Fix test verifyMissingArtifactTriggersCompilation.
Bug: 272245228
Bug: 273787504
Test: atest odsign_e2e_tests_full:OdrefreshFactoryWithCacheInfoHostTest
Change-Id: If44296ce2a47d940a7a938c0c79c3f329b5bc9ac
diff --git a/test/odsign/test-src/com/android/tests/odsign/OdrefreshFactoryHostTestBase.java b/test/odsign/test-src/com/android/tests/odsign/OdrefreshFactoryHostTestBase.java
index d747da8..16e26c5 100644
--- a/test/odsign/test-src/com/android/tests/odsign/OdrefreshFactoryHostTestBase.java
+++ b/test/odsign/test-src/com/android/tests/odsign/OdrefreshFactoryHostTestBase.java
@@ -115,8 +115,10 @@
@Test
public void verifyMissingArtifactTriggersCompilation() throws Exception {
// Simulate that an artifact is missing from /system.
- mDeviceState.backupAndDeleteFile("/system/framework/oat/x86_64/services.odex");
+ mDeviceState.backupAndDeleteFile(
+ "/system/framework/oat/" + mTestUtils.getSystemServerIsa() + "/services.odex");
+ mTestUtils.removeCompilationLogToAvoidBackoff();
long timeMs = mTestUtils.getCurrentTimeMs();
mTestUtils.runOdrefresh();