diff --git a/hibernate-envers/hibernate-envers.gradle b/hibernate-envers/hibernate-envers.gradle index 2208f54e86..34d2bb000e 100644 --- a/hibernate-envers/hibernate-envers.gradle +++ b/hibernate-envers/hibernate-envers.gradle @@ -28,9 +28,4 @@ sourceSets { setSrcDirs( ['src/test/java','src/test/resources'] ) } } -} - -// temporary -test { - ignoreFailures = true } \ No newline at end of file diff --git a/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/jta/JtaExceptionListener.java b/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/jta/JtaExceptionListener.java index 1a030500a9..4bcf44b29f 100644 --- a/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/jta/JtaExceptionListener.java +++ b/hibernate-envers/src/test/java/org/hibernate/envers/test/integration/jta/JtaExceptionListener.java @@ -29,6 +29,7 @@ import org.hibernate.envers.test.EnversTestingJtaBootstrap; import org.hibernate.envers.test.Priority; import org.hibernate.envers.test.entities.StrTestEntity; import org.hibernate.envers.test.integration.reventity.ExceptionListenerRevEntity; +import org.hibernate.testing.FailureExpected; import org.junit.Test; import javax.persistence.EntityManager; @@ -50,7 +51,7 @@ public class JtaExceptionListener extends AbstractEntityTest { cfg.addAnnotatedClass(ExceptionListenerRevEntity.class); } - @Override + @Override public void addConfigurationProperties(Properties configuration) { super.addConfigurationProperties(configuration); tm = EnversTestingJtaBootstrap.updateConfigAndCreateTM(configuration); @@ -74,6 +75,7 @@ public class JtaExceptionListener extends AbstractEntityTest { } @Test + @FailureExpected(jiraKey = "HHH-6020") public void testDataNotPersisted() throws Exception { tm.begin();