summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2025-02-25 13:03:22 +0000
committer Mythri Alle <mythria@google.com> 2025-03-19 09:34:51 -0700
commita23f36390858d148e7ab2cc8ff159b138946595e (patch)
tree2be8f62e606748df1f52eac728ed7f132482a723 /test
parent5ce388aa5079c754838d4faf523eb30719073b88 (diff)
Disable 055-enum-performance on tradefed
055-enum-performance is disabled when run via testrunner from a long time. This test is timing sensitive and might fail on heavily loaded or slow systems. So disable this in tradefed runs as well. Bug:394148480 Change-Id: I30d552c020445aa283ead9b4537cc51b002f8d12
Diffstat (limited to 'test')
-rw-r--r--test/055-enum-performance/Android.bp5
-rwxr-xr-xtest/utils/regen-test-files3
2 files changed, 3 insertions, 5 deletions
diff --git a/test/055-enum-performance/Android.bp b/test/055-enum-performance/Android.bp
index b56c8d7db7..bb8e11d2ab 100644
--- a/test/055-enum-performance/Android.bp
+++ b/test/055-enum-performance/Android.bp
@@ -15,15 +15,12 @@ package {
java_test {
name: "art-run-test-055-enum-performance",
defaults: ["art-run-test-defaults"],
- test_config_template: ":art-run-test-target-template",
+ test_config_template: ":art-run-test-target-no-test-suite-tag-template",
srcs: ["src/**/*.java"],
data: [
":art-run-test-055-enum-performance-expected-stdout",
":art-run-test-055-enum-performance-expected-stderr",
],
- test_suites: [
- "mts-art",
- ],
}
// Test's expected standard output.
diff --git a/test/utils/regen-test-files b/test/utils/regen-test-files
index c7c32c401a..4e5a9723c2 100755
--- a/test/utils/regen-test-files
+++ b/test/utils/regen-test-files
@@ -97,7 +97,6 @@ LINT_BASELINE_FILENAME = "lint-baseline.xml"
# when ignoring their `run` script), even if not exactly as they would
# with the original ART run-test harness.
runnable_test_exceptions = frozenset([
- "055-enum-performance",
"059-finalizer-throw",
"080-oom-throw",
"133-static-invoke-super",
@@ -133,6 +132,8 @@ known_failing_tests = frozenset([
"004-SignalTest",
"004-UnsafeTest",
"051-thread",
+ # 055-enum-performance is time sensitive and disabled in test.py
+ "055-enum-performance",
"086-null-super",
"087-gc-after-link",
"136-daemon-jni-shutdown",