HHH-11157 : Fix failing WithClauseTest
(cherry picked from commit 877a05213c
)
This commit is contained in:
parent
908d0acdd5
commit
c30c8d9dd7
|
@ -194,6 +194,7 @@ public class WithClauseTest extends BaseCoreFunctionalTestCase {
|
|||
public void testWithClauseAsNonSubqueryWithKey() {
|
||||
rebuildSessionFactory( Collections.singletonMap( AvailableSettings.COLLECTION_JOIN_SUBQUERY, "false" ) );
|
||||
|
||||
try {
|
||||
TestData data = new TestData();
|
||||
data.prepare();
|
||||
|
||||
|
@ -210,6 +211,10 @@ public class WithClauseTest extends BaseCoreFunctionalTestCase {
|
|||
s.close();
|
||||
|
||||
data.cleanup();
|
||||
} finally {
|
||||
// Rebuild to reset the properties
|
||||
rebuildSessionFactory();
|
||||
}
|
||||
}
|
||||
|
||||
private class TestData {
|
||||
|
|
Loading…
Reference in New Issue