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.