Resolve query cache results not up to date testsuite failures
-------------------------------------------------------------
Key: HHH-5545
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5545
Project: Hibernate Core
Issue Type: Bug
Components: caching (L2)
Affects Versions: 3.6.0.Beta4, 3.5.5
Reporter: Galder Zamarreno
Assignee: Galder Zamarreno
Fix For: 3.5.6, 3.6.0.CR1
BasicTransactionalTestCase.testQueryCache and testQueryCacheHitInSameTransaction are
randomly giving failures due to persist and queries happening within 100ms, which the
update timestamps considers the cache query results not to be up to date. Adding a small
delay in between persist and query to get around this issue.
The underlying problem of persist/query false misses has been discussed in a couple of
previous occasions, see:
http://lists.jboss.org/pipermail/hibernate-dev/2010-January/004744.html
HHH-4551 and HHH-4577 are related to this.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira