You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/06/27 11:20:47 UTC

[jira] [Resolved] (CAMEL-4069) The LRUSoftCacheTest unit test fails

     [ https://issues.apache.org/jira/browse/CAMEL-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-4069.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.9.0)
                   2.8.0
         Assignee: Claus Ibsen

I have removed that test that may work on high end systems. It uses SoftReference from the JDK which we know works.

> The LRUSoftCacheTest unit test fails
> ------------------------------------
>
>                 Key: CAMEL-4069
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4069
>             Project: Camel
>          Issue Type: Test
>    Affects Versions: 2.7.2
>            Reporter: Hadrian Zbarcea
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> Not quite a bug, but it fails. The test depends on GC kicking in, which on system with a lot of memory it may not happen, causing annoying test failures given how long full tests take.
> Need to find a better way to test SoftReferences, maybe take a look at how it's done in Apache Harmony.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira