[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6094) Test failures in hibernate-infinispan dealing with query caching

Steve Ebersole (JIRA) noreply at atlassian.com
Tue May 3 15:37:59 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42202#action_42202 ] 

Steve Ebersole commented on HHH-6094:
-------------------------------------

The culprit was some code ducking out of after-transaction-completion processing a little too early from registered JTA Synchronizations when the Session was closed. 

> Test failures in hibernate-infinispan dealing with query caching
> ----------------------------------------------------------------
>
>                 Key: HHH-6094
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6094
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: caching (L2)
>    Affects Versions: 4.0.0.Alpha2
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>             Fix For: 4.0.0.Alpha3
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> We never get cache hits.  Stepping through the code in debugger the tests pass.  That coupled with the Thread.sleep() calls in the tests, I wonder if this might be a timing issue.
> The tests are:
> # {{org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase#testQueryCacheHitInSameTransaction}}
> # {{org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase#testQueryCache}}

-- 
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list