ART: Disable libcore tests failing on bots
Some tests in previous commits are failing on the testing devices.
Tests dependent on DateTimeFormatter fail on hammerhead due to
misconfigured locales and tests with a server running on localhost
fail due to the loop device being switched off on volantisg. These
problems will be further investigated but this patch disables them
for the time being.
Change-Id: I2dde178925de555f26a4d532be15487f499571b4
diff --git a/tools/libcore_failures.txt b/tools/libcore_failures.txt
index 2c921f5..a09afdf 100644
--- a/tools/libcore_failures.txt
+++ b/tools/libcore_failures.txt
@@ -41,6 +41,31 @@
"org.apache.harmony.tests.java.util.TimeZoneTest#test_hasSameRules_Ljava_util_TimeZone"]
},
{
+ description: "Failing due to a locale problem on hammerhead.",
+ result: EXEC_FAILED,
+ modes: [device],
+ names: ["libcore.icu.DateIntervalFormatTest#test10089890",
+ "libcore.icu.DateIntervalFormatTest#test10209343_when_not_this_year",
+ "libcore.icu.DateIntervalFormatTest#test10560853_for_single_day_events",
+ "libcore.icu.DateIntervalFormatTest#test10560853_when_time_not_displayed",
+ "libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeDateTimeString",
+ "libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeTimeSpanString",
+ "libcore.icu.RelativeDateTimeFormatterTest#test_getRelativeTimeSpanStringAbbrev",
+ "libcore.java.text.OldDateFormatTest#test_parseLString",
+ "libcore.java.text.SimpleDateFormatTest#testDstZoneNameWithNonDstTimestamp",
+ "libcore.java.text.SimpleDateFormatTest#testDstZoneWithNonDstTimestampForNonHourDstZone",
+ "libcore.java.text.SimpleDateFormatTest#testNonDstZoneNameWithDstTimestamp",
+ "libcore.java.text.SimpleDateFormatTest#testNonDstZoneWithDstTimestampForNonHourDstZone"]
+},
+{
+ description: "Failing due to switched off network stack on volantisg.",
+ result: EXEC_FAILED,
+ modes: [device],
+ names: ["org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest",
+ "org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest",
+ "org.apache.harmony.luni.tests.java.net.URLConnectionTest"]
+},
+{
description: "Test timeouts",
result: EXEC_TIMEOUT,
modes: [device],