[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3995) Cleanup test data

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Jun 29 10:04:15 EDT 2009


Cleanup test data
-----------------

                 Key: HHH-3995
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3995
             Project: Hibernate Core
          Issue Type: Task
          Components: testsuite
            Reporter: Steve Ebersole
            Assignee: Steve Ebersole
            Priority: Minor
             Fix For: 3.2.x, 3.3.x, 3.5


Lots of tests are leaving test data hanging around.  That works on a particular assumption wrt the execution order of tests or that only a single test method exists.  That cuases problems later in many cases.  All tests should clean up the test data they create.  Currently on trunk I see 246 tests leaving data around.

The sys prop hibernate.test.validateDataCleanup can be used to check for this; set it to true.

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