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:
@@ -220,7 +220,14 @@ public class WeakHashtableTestCase extends TestCase {
|
|||||||
assertTrue(values.contains(valueThree));
|
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)));
|
assertNotNull(weakHashtable.get(new Long(1)));
|
||||||
ReferenceQueue testQueue = new ReferenceQueue();
|
ReferenceQueue testQueue = new ReferenceQueue();
|
||||||
WeakReference weakKeyOne = new WeakReference(keyOne, testQueue);
|
WeakReference weakKeyOne = new WeakReference(keyOne, testQueue);
|
||||||
|
|||||||
Reference in New Issue
Block a user