HHH-12594 - Using property "hibernate.default_batch_fetch_size" crashes bootstrapping
Fix test failing in spite of @FailureExpected
This commit is contained in:
parent
e1cdad36d0
commit
ae8930e19f
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue