1
0

Disable flawed test.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1456130 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart
2013-03-13 21:21:07 +00:00
parent 1dea4da916
commit f05e6f647d

View File

@@ -220,7 +220,14 @@ public class WeakHashtableTestCase extends TestCase {
assertTrue(values.contains(valueThree));
}
public void testRelease() throws Exception {
/**
* Disables this tests as it makes wrong assumptions wrt the GC.
* This test especially fails with:
*
* Java(TM) SE Runtime Environment (build pxi3260sr12-20121025_01(SR12))
* IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr12-20121024_1
*/
public void xxxIgnoretestRelease() throws Exception {
assertNotNull(weakHashtable.get(new Long(1)));
ReferenceQueue testQueue = new ReferenceQueue();
WeakReference weakKeyOne = new WeakReference(keyOne, testQueue);