HHH-12594 - Using property "hibernate.default_batch_fetch_size" crashes bootstrapping

Fix test failing in spite of @FailureExpected
This commit is contained in:
Vlad Mihalcea 2018-05-17 17:41:14 +03:00
parent e1cdad36d0
commit ae8930e19f
1 changed files with 1 additions and 7 deletions

View File

@ -51,18 +51,12 @@ public class BatchFetchBootstrapTest extends BaseCoreFunctionalTestCase {
@Override @Override
protected void buildSessionFactory() { protected void buildSessionFactory() {
try {
super.buildSessionFactory();
}
catch (Exception e) {
throw new IllegalStateException( e );
}
} }
@Test @Test
@FailureExpected( jiraKey = "HHH-12594") @FailureExpected( jiraKey = "HHH-12594")
public void test() { public void test() {
super.buildSessionFactory();
} }
@Entity(name = "File") @Entity(name = "File")