Test failures in hibernate-infinispan dealing with query caching

Description

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:

  1. org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase#testQueryCacheHitInSameTransaction

  2. org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase#testQueryCache

Activity

Steve EbersoleMay 3, 2011 at 9:36 PM

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.

Galder ZamarrenoMay 3, 2011 at 4:19 PM

Hey Steve, I'll try to see if I can fix it today. I'll ping with the outcome.

Steve EbersoleMay 3, 2011 at 2:47 PM

Galder, any chance to get this resolved for tomorrow's release?

Fixed

Details

Assignee

Reporter

Time tracking

2h logged

Fix versions

Affects versions

Priority

Created April 6, 2011 at 9:35 PM
Updated April 22, 2015 at 6:40 PM
Resolved May 3, 2011 at 9:33 PM