[hibernate-issues] [Hibernate-JIRA] Commented: (OGM-45) Rewrite OgmTestCase: broken in a few ways
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Fri Jun 17 11:27:25 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/OGM-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42631#action_42631 ]
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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list