[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6015?page=c...
]
Galder Zamarreno commented on HHH-6015:
---------------------------------------
If I comment testClassLoaderHandlingNamedQueryRegion,
testClassLoaderHandlingStandardQueryCache works fine so I suspect this is an issue with
the previous test not being cleared properly.
Investigate hibernate-infinispan test failures since migration to
JUnit4
------------------------------------------------------------------------
Key: HHH-6015
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6015
Project: Hibernate Core
Issue Type: Task
Components: testsuite
Reporter: Steve Ebersole
Assignee: Galder Zamarreno
Fix For: 4.0.0.Alpha2
2 failures, both in
{{org.hibernate.test.cache.infinispan.functional.classloader.IsolatedClassLoaderTest}}:
{{testClassLoaderHandlingStandardQueryCache}}
{noformat}
org.hibernate.PersistentObjectException: detached entity passed to persist:
org.hibernate.test.cache.infinispan.functional.classloader.Account
at
org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:124)
at
org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:62)
at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:813)
at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:787)
at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:791)
at
org.hibernate.test.cache.infinispan.functional.classloader.ClassLoaderTestDAO.createAccount(ClassLoaderTestDAO.java:146)
at
org.hibernate.test.cache.infinispan.functional.classloader.IsolatedClassLoaderTest.setupEntities(IsolatedClassLoaderTest.java:310)
at
org.hibernate.test.cache.infinispan.functional.classloader.IsolatedClassLoaderTest.queryTest(IsolatedClassLoaderTest.java:222)
at
org.hibernate.test.cache.infinispan.functional.classloader.IsolatedClassLoaderTest.testClassLoaderHandlingStandardQueryCache(IsolatedClassLoaderTest.java:179)
...
{noformat}
{{testIsolatedSetup}}
{noformat}
java.lang.AssertionError: Should not have succeeded in putting acct -- classloader not
isolated
at org.junit.Assert.fail(Assert.java:91)
at
org.hibernate.test.cache.infinispan.functional.classloader.IsolatedClassLoaderTest.testIsolatedSetup(IsolatedClassLoaderTest.java:155)
...
{noformat}
--
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