[hibernate-issues] [Hibernate-JIRA] Resolved: (HSEARCH-686) Failing tests hide the assertion failure message by consequently failing cleanup methods

Sanne Grinovero (JIRA) noreply at atlassian.com
Thu Mar 3 06:29:08 EST 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sanne Grinovero resolved HSEARCH-686.
-------------------------------------

    Resolution: Fixed

> Failing tests hide the assertion failure message by consequently failing cleanup methods
> ----------------------------------------------------------------------------------------
>
>                 Key: HSEARCH-686
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-686
>             Project: Hibernate Search
>          Issue Type: Bug
>            Reporter: Sanne Grinovero
>            Assignee: Hardy Ferentschik
>            Priority: Minor
>             Fix For: 3.4.0.Alpha1
>
>
> It seems that if a Search test fails in the testmethod, the stacktrace and error messages are hidden by cleanup methods which are invoked by parent test logic, which also fail as the SessionFactory is closed and resources such as DirectoryProviders are already closed so they fail to cleanup data and hide the true issue.
> If a test does not fail, nothing wrong happens.

-- 
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