diff --git a/extension/android/executorch_android/src/androidTest/java/org/pytorch/executorch/ModuleInstrumentationTest.kt b/extension/android/executorch_android/src/androidTest/java/org/pytorch/executorch/ModuleInstrumentationTest.kt index 698358ba6a7..37948b01677 100644 --- a/extension/android/executorch_android/src/androidTest/java/org/pytorch/executorch/ModuleInstrumentationTest.kt +++ b/extension/android/executorch_android/src/androidTest/java/org/pytorch/executorch/ModuleInstrumentationTest.kt @@ -19,6 +19,7 @@ import java.util.concurrent.atomic.AtomicInteger import org.apache.commons.io.FileUtils import org.junit.Assert import org.junit.Before +import org.junit.Ignore import org.junit.Rule import org.junit.Test import org.junit.runner.RunWith @@ -46,6 +47,9 @@ class ModuleInstrumentationTest { var runtimePermissionRule: GrantPermissionRule = GrantPermissionRule.grant(Manifest.permission.READ_EXTERNAL_STORAGE) + @Ignore( + "The forward has failure that needs to be fixed before enabling this test: [Executorch Error 0x12] Invalid argument: Execution failed for method: forward " + ) @Test @Throws(IOException::class, URISyntaxException::class) fun testModuleLoadAndForward() { @@ -61,6 +65,9 @@ class ModuleInstrumentationTest { val module = Module.load(getTestFilePath(TEST_FILE_NAME)) } + @Ignore( + "The forward has failure that needs to be fixed before enabling this test: [Executorch Error 0x12] Invalid argument: Execution failed for method: forward " + ) @Test @Throws(IOException::class) fun testModuleLoadMethodAndForward() { @@ -73,6 +80,9 @@ class ModuleInstrumentationTest { Assert.assertTrue(results[0].isTensor) } + @Ignore( + "The forward has failure that needs to be fixed before enabling this test: [Executorch Error 0x12] Invalid argument: Execution failed for method: forward " + ) @Test @Throws(IOException::class) fun testModuleLoadForwardExplicit() { @@ -131,6 +141,9 @@ class ModuleInstrumentationTest { Assert.assertEquals(0, results.size.toLong()) } + @Ignore( + "The forward has failure that needs to be fixed before enabling this test: [Executorch Error 0x12] Invalid argument: Execution failed for method: forward " + ) @Test @Throws(InterruptedException::class, IOException::class) fun testForwardFromMultipleThreads() {