From bb732cf26a7e9e904210918de61fc68da7674001 Mon Sep 17 00:00:00 2001 From: Vlad Mihalcea Date: Thu, 17 May 2018 17:41:14 +0300 Subject: [PATCH] HHH-12594 - Using property "hibernate.default_batch_fetch_size" crashes bootstrapping Fix test failing in spite of @FailureExpected --- .../test/batchfetch/BatchFetchBootstrapTest.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/hibernate-core/src/test/java/org/hibernate/test/batchfetch/BatchFetchBootstrapTest.java b/hibernate-core/src/test/java/org/hibernate/test/batchfetch/BatchFetchBootstrapTest.java index e02c8eb057..fb203a76ec 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/batchfetch/BatchFetchBootstrapTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/batchfetch/BatchFetchBootstrapTest.java @@ -51,18 +51,12 @@ public class BatchFetchBootstrapTest extends BaseCoreFunctionalTestCase { @Override protected void buildSessionFactory() { - try { - super.buildSessionFactory(); - } - catch (Exception e) { - throw new IllegalStateException( e ); - } } @Test @FailureExpected( jiraKey = "HHH-12594") public void test() { - + super.buildSessionFactory(); } @Entity(name = "File")