From 250160d923090637f1483e7d02421e3a11f9a4a0 Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Wed, 29 Apr 2020 11:12:35 +0100 Subject: [PATCH] HHH-13986 Fix test failure on MariaDB --- ...ehavesLikeSequeceHiloGeneratorWitZeroIncrementSizeTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hibernate-core/src/test/java/org/hibernate/id/SequenceStyleGeneratorBehavesLikeSequeceHiloGeneratorWitZeroIncrementSizeTest.java b/hibernate-core/src/test/java/org/hibernate/id/SequenceStyleGeneratorBehavesLikeSequeceHiloGeneratorWitZeroIncrementSizeTest.java index c3db2a4e8c..a818fa483a 100644 --- a/hibernate-core/src/test/java/org/hibernate/id/SequenceStyleGeneratorBehavesLikeSequeceHiloGeneratorWitZeroIncrementSizeTest.java +++ b/hibernate-core/src/test/java/org/hibernate/id/SequenceStyleGeneratorBehavesLikeSequeceHiloGeneratorWitZeroIncrementSizeTest.java @@ -25,6 +25,7 @@ import org.hibernate.type.StandardBasicTypes; import org.hibernate.testing.DialectChecks; import org.hibernate.testing.RequiresDialectFeature; import org.hibernate.testing.boot.MetadataBuildingContextTestingImpl; +import org.hibernate.testing.junit4.BaseUnitTestCase; import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -35,7 +36,7 @@ import static org.junit.Assert.assertEquals; * @author Andrea Boriero */ @RequiresDialectFeature(DialectChecks.SupportsSequences.class) -public class SequenceStyleGeneratorBehavesLikeSequeceHiloGeneratorWitZeroIncrementSizeTest { +public class SequenceStyleGeneratorBehavesLikeSequeceHiloGeneratorWitZeroIncrementSizeTest extends BaseUnitTestCase { private static final String TEST_SEQUENCE = "test_sequence"; private StandardServiceRegistry serviceRegistry;