Fix test leaking connections

This commit is contained in:
Vlad Mihalcea 2017-09-26 15:43:29 +03:00
parent f9ec55d56b
commit b48dfe0d11
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,8 @@ import javax.persistence.MapsId;
import javax.persistence.Table;
import java.io.Serializable;
import org.hibernate.SessionFactory;
/**
* @author Luis Barreiro
*/
@ -35,6 +37,7 @@ public class CrossEnhancementTest extends BaseCoreFunctionalTestCase {
@Test
public void test() {
sessionFactory().close();
buildSessionFactory();
}