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

Donald Woods resolved OPENJPA-1624.
-----------------------------------

    Resolution: Fixed

> Fix intermittent datacache timeout failures in TestSJVMCache and CacheTest
> --------------------------------------------------------------------------
>
>                 Key: OPENJPA-1624
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1624
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>    Affects Versions: 2.0.0-beta3
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-1624.patch
>
>
> We keep seeing intermittent failures in some of the datacache tests (mainly 
> TestSJVMCache on DB2) due to how CacheTest uses hardcoded Thread.sleep() 
> calls to try and time when the entities have been removed from the cache.  
> Instead, I'm going to include some code to determine time elapsed, to make a 
> better determination on how long to sleep.  Also, will add some code to skip 
> some of the cache checks when we've already passed the timeout value for the 
> next entity, as sometimes the load on our DB2 machine affects these test runs 
> (and the first couple of cacheCheck() calls almost always fail when running 
> against a remote db server.)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to