[hibernate-commits] Hibernate SVN: r19742 - core/branches/Branch_3_5/testsuite/src/test/java/org/hibernate/test/naturalid/immutable.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Tue Jun 15 13:24:12 EDT 2010
Author: gbadner
Date: 2010-06-15 13:24:12 -0400 (Tue, 15 Jun 2010)
New Revision: 19742
Modified:
core/branches/Branch_3_5/testsuite/src/test/java/org/hibernate/test/naturalid/immutable/ImmutableNaturalIdTest.java
Log:
HHH-5231 : Unit test locks up on postgresql on Branch_3_5
Modified: core/branches/Branch_3_5/testsuite/src/test/java/org/hibernate/test/naturalid/immutable/ImmutableNaturalIdTest.java
===================================================================
--- core/branches/Branch_3_5/testsuite/src/test/java/org/hibernate/test/naturalid/immutable/ImmutableNaturalIdTest.java 2010-06-15 15:53:37 UTC (rev 19741)
+++ core/branches/Branch_3_5/testsuite/src/test/java/org/hibernate/test/naturalid/immutable/ImmutableNaturalIdTest.java 2010-06-15 17:24:12 UTC (rev 19742)
@@ -227,6 +227,8 @@
.setCacheable( true )
.uniqueResult();
assertNotNull( u );
+ s.getTransaction().commit();
+ s.close();
assertEquals( getSessions().getStatistics().getQueryExecutionCount(), 1 );
assertEquals( getSessions().getStatistics().getQueryCacheHitCount(), 0 );
More information about the hibernate-commits
mailing list