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

Work on OPENJPA-1624 started by Donald Woods.

> 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
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to