summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2015-11-11 12:16:52 +0000
committer Roland Levillain <rpl@google.com> 2015-11-11 12:21:13 +0000
commit32f7a169a08bb2f8a186111b880e886d98e96b87 (patch)
treeaa3754f42f6f246b099fb9c12bc3969d408e56bc
parentea30daef253f4b616ec7c9d4c7e134f33454d19d (diff)
Ignore failures of WeakHashMapTest#test_keySet in libcore tests.
The outcome of this test depends on a weak reference being collected before a timeout, which sometimes fails. This test used to pass, but recent changes have made this non-determinism more frequent. Until we rewrite this properly (if ever), just ignore these failures. Bug: 25437292 Change-Id: I1f041f6dfc1318026bce966575477486207f5351
-rw-r--r--tools/libcore_failures.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/libcore_failures.txt b/tools/libcore_failures.txt
index 9a8b462740..a5476f7c41 100644
--- a/tools/libcore_failures.txt
+++ b/tools/libcore_failures.txt
@@ -164,5 +164,11 @@
names: ["libcore.io.OsTest#test_byteBufferPositions_sendto_recvfrom_af_inet6",
"libcore.io.OsTest#test_sendtoSocketAddress_af_inet6"],
bug: 25178637
+},
+{
+ description: "Non-deterministic test because of a dependency on weak ref collection.",
+ result: EXEC_FAILED,
+ names: ["org.apache.harmony.tests.java.util.WeakHashMapTest#test_keySet"],
+ bug: 25437292
}
]