db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Palmer (JIRA)" <j...@apache.org>
Subject [jira] Created: (DDLUTILS-255) Test tearDown call of assertAndEnsureClearDatabase masks the real test failure
Date Sun, 25 Apr 2010 17:41:49 GMT
Test tearDown call of assertAndEnsureClearDatabase masks the real test failure
------------------------------------------------------------------------------

                 Key: DDLUTILS-255
                 URL: https://issues.apache.org/jira/browse/DDLUTILS-255
             Project: DdlUtils
          Issue Type: Bug
          Components: Core (No specific database)
    Affects Versions: 1.1
            Reporter: Tom Palmer
            Assignee: Thomas Dudziak
            Priority: Minor


Currently TestAgainstLiveDatabaseBase.tearDown() will call assertAndEnsureClearDatabase()
even when there is a test failure. Unfortunately this masks the real test failure as often
or not the test has created additional data that assertAndEnsureClearDatabase() will throw
an AssertionFailedError on. This causes the test failure AssertionFailedError to get replaced
by the tearDown() instance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message