[ 
https://issues.apache.org/jira/browse/ISIS-2765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17384680#comment-17384680
 ] 

Andi Huber commented on ISIS-2765:
----------------------------------

I agreed, teardown should always run. 

We are happy to receive pull requests via GitHub, if by any chance you see fit 
to contribute a fix, Patrick.

> Method ModuleWithFixtures.getTeardownFixture not executed after failed test 
> ----------------------------------------------------------------------------
>
>                 Key: ISIS-2765
>                 URL: https://issues.apache.org/jira/browse/ISIS-2765
>             Project: Isis
>          Issue Type: Bug
>          Components: Isis Testing
>    Affects Versions: 2.0.0-M5
>            Reporter: Patrick Deenen
>            Priority: Major
>             Fix For: 2.0.0
>
>
> 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.3.4#803005)

Reply via email to