[ 
https://issues.apache.org/jira/browse/SUREFIRE-1726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vincent Massol closed SUREFIRE-1726.
------------------------------------
    Resolution: Invalid

Closing since this issue was wrongly created. I thought AfterAll wasn't called 
but I was wrong. It is called correctly. The issue is elsewhere in our own 
code. Sorry for the trouble. Thanks

> @AfterAll JUnit5 methods from extensions are not called when a test is rerun
> ----------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1726
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1726
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: JUnit 5.x support
>    Affects Versions: 3.0.0-M4
>            Reporter: Vincent Massol
>            Priority: Major
>
> I'm testing the rerun feature with the failsafe plugin (with 
> -Dfailsafe.rerunFailingTestsCount=2) and I've noticed that my failing tests 
> that are executed again don't have the @AfterAll method of the extension they 
> use executed again. However the extension's @BeforeAll methods are correctly 
> called during the reruns.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to