From 3cd69af33380b4a1315a096126592302223b5005 Mon Sep 17 00:00:00 2001 From: Brett Meyer Date: Mon, 10 Mar 2014 14:41:04 -0400 Subject: [PATCH] HHH-8739 corrected test --- ...ansactionRolledBackInDifferentThreadTest.java | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/transaction/TransactionRolledBackInDifferentThreadTest.java b/hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/transaction/TransactionRolledBackInDifferentThreadTest.java index 5496ef4daa..346f217eb6 100644 --- a/hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/transaction/TransactionRolledBackInDifferentThreadTest.java +++ b/hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/transaction/TransactionRolledBackInDifferentThreadTest.java @@ -23,23 +23,21 @@ */ package org.hibernate.jpa.test.transaction; +import static org.junit.Assert.fail; + +import java.util.Map; + import javax.persistence.EntityManager; import javax.transaction.RollbackException; import javax.transaction.Status; import javax.transaction.SystemException; -import java.util.Map; import org.hibernate.HibernateException; -import org.hibernate.jpa.AvailableSettings; -import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase; - -import org.junit.Ignore; -import org.junit.Test; - +import org.hibernate.ejb.AvailableSettings; +import org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase; import org.hibernate.testing.jta.TestingJtaBootstrap; import org.hibernate.testing.jta.TestingJtaPlatformImpl; - -import static org.junit.Assert.fail; +import org.junit.Test; /** * Recreate test failure that occurs when three threads share the same entity manager and