From 0075225ab715b15dd8e5386e4dd43bd79963a13f Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Fri, 20 Jul 2018 10:37:06 +0200 Subject: [PATCH] HHH-12832 Make SchemaUpdateHaltOnErrorTest use the CustomRunner Otherwise @SkipForDialect doesn't work. --- .../test/schemaupdate/SchemaUpdateHaltOnErrorTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hibernate-core/src/test/java/org/hibernate/test/schemaupdate/SchemaUpdateHaltOnErrorTest.java b/hibernate-core/src/test/java/org/hibernate/test/schemaupdate/SchemaUpdateHaltOnErrorTest.java index 3ce899354c..a52c80d65e 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/schemaupdate/SchemaUpdateHaltOnErrorTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/schemaupdate/SchemaUpdateHaltOnErrorTest.java @@ -22,18 +22,21 @@ import org.hibernate.boot.registry.StandardServiceRegistryBuilder; import org.hibernate.boot.spi.MetadataImplementor; import org.hibernate.dialect.DB2Dialect; import org.hibernate.testing.SkipForDialect; +import org.hibernate.testing.junit4.CustomRunner; import org.hibernate.tool.hbm2ddl.SchemaUpdate; import org.hibernate.tool.schema.TargetType; import org.hibernate.tool.schema.spi.SchemaManagementException; import org.junit.After; import org.junit.Before; import org.junit.Test; +import org.junit.runner.RunWith; /** * @author Vlad Mihalcea * @author Gail Badner */ @SkipForDialect(value = DB2Dialect.class, comment = "DB2 is far more resistant to the reserved keyword usage. See HHH-12832.") +@RunWith(CustomRunner.class) public class SchemaUpdateHaltOnErrorTest { private File output;