[
https://issues.apache.org/jira/browse/CAUSEWAY-2765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Keir Haywood closed CAUSEWAY-2765.
-----------------------------------------
Resolution: Fixed
> [CANNOT REPRODUCE] Method ModuleWithFixtures.getTeardownFixture not executed
> after failed test
> -----------------------------------------------------------------------------------------------
>
> Key: CAUSEWAY-2765
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-2765
> Project: Causeway
> Issue Type: Bug
> Components: Testing fixtures
> Affects Versions: 2.0.0-M5
> Reporter: Patrick Deenen
> Priority: Major
> Fix For: 2.0.0-M7
>
>
> When an integration test fails the methodÂ
> ModuleWithFixtures.getTeardownFixture is not executed. As a result added
> entities to the H2 DB are not deleted. This can and has caused errors in
> other integration tests that are run later in the flow and depend on
> overlapping data.
> IMHO the teardown should always run to make sure the other tests can continue
> in a consistent state.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)