]
Emmanuel Bernard commented on OGM-45:
-------------------------------------
forcontributor
Rewrite OgmTestCase: broken in a few ways
-----------------------------------------
Key: OGM-45
URL:
http://opensource.atlassian.com/projects/hibernate/browse/OGM-45
Project: Hibernate OGM
Issue Type: Improvement
Reporter: Emmanuel Bernard
The sessionFactory handling (sessions) expect:
- to reuse the same sessionFActory across test (good)
- does not close the sessionfactory during the latest test
this model works if everyone extends OgmTestCase but that's not true.
=> the test suite fails when used in a cluster
We should get rid of this session factory reuse code / assumption entirely:
- done by closing and nullifying the sessions object on tearDown
The code should be cleaned up though
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: