Skip to content

Commit b858946

Browse files
phaitingHaiting Pu
andauthored
Add @ignore for e2e tests related with ModuleAdd.pte (#15242)
### Summary There are e2e test failures that is related with ModuleAdd.pte, before we fully fixed that, let's add the @ignore See the failure logs: 10-17 21:45:28.303 2107 2284 E AndroidRuntime: FATAL EXCEPTION: Thread-101 10-17 21:45:28.303 2107 2284 E AndroidRuntime: Process: org.pytorch.executorch.test, PID: 2107 10-17 21:45:28.303 2107 2284 E AndroidRuntime: org.pytorch.executorch.ExecutorchRuntimeException$ExecutorchInvalidArgumentException: [Executorch Error 0x12] Invalid argument: Execution failed for method: forward ### Test plan * verified on local android emulator * run via CI Co-authored-by: Haiting Pu <[email protected]>
1 parent bd34e74 commit b858946

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

extension/android/executorch_android/src/androidTest/java/org/pytorch/executorch/ModuleInstrumentationTest.kt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import java.util.concurrent.atomic.AtomicInteger
1919
import org.apache.commons.io.FileUtils
2020
import org.junit.Assert
2121
import org.junit.Before
22+
import org.junit.Ignore
2223
import org.junit.Rule
2324
import org.junit.Test
2425
import org.junit.runner.RunWith
@@ -46,6 +47,9 @@ class ModuleInstrumentationTest {
4647
var runtimePermissionRule: GrantPermissionRule =
4748
GrantPermissionRule.grant(Manifest.permission.READ_EXTERNAL_STORAGE)
4849

50+
@Ignore(
51+
"The forward has failure that needs to be fixed before enabling this test: [Executorch Error 0x12] Invalid argument: Execution failed for method: forward "
52+
)
4953
@Test
5054
@Throws(IOException::class, URISyntaxException::class)
5155
fun testModuleLoadAndForward() {
@@ -61,6 +65,9 @@ class ModuleInstrumentationTest {
6165
val module = Module.load(getTestFilePath(TEST_FILE_NAME))
6266
}
6367

68+
@Ignore(
69+
"The forward has failure that needs to be fixed before enabling this test: [Executorch Error 0x12] Invalid argument: Execution failed for method: forward "
70+
)
6471
@Test
6572
@Throws(IOException::class)
6673
fun testModuleLoadMethodAndForward() {
@@ -73,6 +80,9 @@ class ModuleInstrumentationTest {
7380
Assert.assertTrue(results[0].isTensor)
7481
}
7582

83+
@Ignore(
84+
"The forward has failure that needs to be fixed before enabling this test: [Executorch Error 0x12] Invalid argument: Execution failed for method: forward "
85+
)
7686
@Test
7787
@Throws(IOException::class)
7888
fun testModuleLoadForwardExplicit() {
@@ -131,6 +141,9 @@ class ModuleInstrumentationTest {
131141
Assert.assertEquals(0, results.size.toLong())
132142
}
133143

144+
@Ignore(
145+
"The forward has failure that needs to be fixed before enabling this test: [Executorch Error 0x12] Invalid argument: Execution failed for method: forward "
146+
)
134147
@Test
135148
@Throws(InterruptedException::class, IOException::class)
136149
fun testForwardFromMultipleThreads() {

0 commit comments

Comments
 (0)