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

Sanne Grinovero (JIRA) noreply at atlassian.com
Mon Feb 14 06:56:05 EST 2011


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


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